From 8733438bc27f08dbe2f122810de0a3dcf3102a5f Mon Sep 17 00:00:00 2001 From: Preetham Ananthkumar Date: Sat, 15 Jul 2023 12:27:00 +0100 Subject: [PATCH] Initial commit --- Int-DNS.startup | 0 Int-DNS/etc/dnsmasq.conf | 11 +++++++++++ Int-DNS/etc/dnsmasq_static_hosts.conf | 9 +++++++++ Int-DNS/etc/resolvconf/resolv.conf.d/base | 2 ++ 4 files changed, 22 insertions(+) create mode 100755 Int-DNS.startup create mode 100755 Int-DNS/etc/dnsmasq.conf create mode 100755 Int-DNS/etc/dnsmasq_static_hosts.conf create mode 100755 Int-DNS/etc/resolvconf/resolv.conf.d/base diff --git a/Int-DNS.startup b/Int-DNS.startup new file mode 100755 index 0000000..e69de29 diff --git a/Int-DNS/etc/dnsmasq.conf b/Int-DNS/etc/dnsmasq.conf new file mode 100755 index 0000000..6d748ef --- /dev/null +++ b/Int-DNS/etc/dnsmasq.conf @@ -0,0 +1,11 @@ +interface=eth0 +domain-needed +bogus-priv +no-resolv +no-poll +server=8.8.8.8 +local=/fido22.cyber.test/ +no-hosts +addn-hosts=/etc/dnsmasq_static_hosts.conf +expand-hosts +domain=fido22.cyber.test diff --git a/Int-DNS/etc/dnsmasq_static_hosts.conf b/Int-DNS/etc/dnsmasq_static_hosts.conf new file mode 100755 index 0000000..7655b5f --- /dev/null +++ b/Int-DNS/etc/dnsmasq_static_hosts.conf @@ -0,0 +1,9 @@ +80.64.37.201 squid.fido22.cyber.test +80.64.41.131 dns.fido22.cyber.test +80.64.139.114 mail.fido22.cyber.test +80.64.98.155 www.fido22.cyber.test +80.64.89.215 vpn.fido22.cyber.test +80.64.81.121 staff1.fido22.cyber.test +80.64.69.201 staff2.fido22.cyber.test +80.64.99.159 staff3.fido22.cyber.test +80.64.34.21 ldap.fido22.cyber.test diff --git a/Int-DNS/etc/resolvconf/resolv.conf.d/base b/Int-DNS/etc/resolvconf/resolv.conf.d/base new file mode 100755 index 0000000..caa02b9 --- /dev/null +++ b/Int-DNS/etc/resolvconf/resolv.conf.d/base @@ -0,0 +1,2 @@ +# hosts external to fido +nameserver 8.8.8.8