I have never administered any type of DNS before in my life (until yesterday) so any help would be greatly appreciated.
I work for a really small company that owns a domain 'bar.com'. However, I am setting up a test network where I will want to administer my own domain called 'foo.bar.com'. My first step was to get BIND running on one of my machines. I went through the process of creating my zone data files and a named.conf file.
1) BIND Configuration File (named.conf)
2) Forward Mapping Zone Data File (db.foo.bar.com)
3) Reverse Mapping Zone Data File (db.192.168)
I was very cautious with the syntax and even ran named-checkconf & named-checkzone where applicable and found no errors. I then launched 'named -c named.conf' on my Linux machine and all was well (also verifying syslog for any errors). All of my hosts within my 'foo.bar.com' subdomain are able to 'nslookup' my private DNS server for both Address (A) records and Pointer (PTR) records. So far so good.
However, if on one of my hosts 'host1.foo.bar.com' I issue an 'nslookup host2.bar.com', I noticed with Wireshark that my local DNS server is sending the query to a ROOT DNS server (which results in a NXDOMAIN). Instead, I would want my local DNS server to instead send the query to our internal DNS server residing on 'bar.com'.
Similarly, if on my host 'host1.foo.bar.com' I issue an 'nslookup google.com', it again goes out to a ROOT DNS server and of course returns with 5 answers.
So here is my question:
1) How can I leverage my parent zone's DNS server residing in 'bar.com'? In other words, I would like to take advantage of the recursive/iterative/caching hierarchical nature of DNS. If one of my hosts needs to resolve something outside of my domain, I would want my local DNS server to forward all requests to my parent's DNS server...and not a ROOT DNS server.
PLEASE NOTE: My IT administrator of 'bar.com' is almost always AWOL. So getting any configuration changes on my parent's 'bar'com' DNS server is next to impossible. But at the same token, I have no interest in having 'bar.com' hosts resolving my hosts on 'foo.bar.com'. I am selfish and only care about having my hosts on 'foo.bar.com' resolving hosts on 'bar.com'
I work for a really small company that owns a domain 'bar.com'. However, I am setting up a test network where I will want to administer my own domain called 'foo.bar.com'. My first step was to get BIND running on one of my machines. I went through the process of creating my zone data files and a named.conf file.
1) BIND Configuration File (named.conf)
2) Forward Mapping Zone Data File (db.foo.bar.com)
3) Reverse Mapping Zone Data File (db.192.168)
I was very cautious with the syntax and even ran named-checkconf & named-checkzone where applicable and found no errors. I then launched 'named -c named.conf' on my Linux machine and all was well (also verifying syslog for any errors). All of my hosts within my 'foo.bar.com' subdomain are able to 'nslookup' my private DNS server for both Address (A) records and Pointer (PTR) records. So far so good.
However, if on one of my hosts 'host1.foo.bar.com' I issue an 'nslookup host2.bar.com', I noticed with Wireshark that my local DNS server is sending the query to a ROOT DNS server (which results in a NXDOMAIN). Instead, I would want my local DNS server to instead send the query to our internal DNS server residing on 'bar.com'.
Similarly, if on my host 'host1.foo.bar.com' I issue an 'nslookup google.com', it again goes out to a ROOT DNS server and of course returns with 5 answers.
So here is my question:
1) How can I leverage my parent zone's DNS server residing in 'bar.com'? In other words, I would like to take advantage of the recursive/iterative/caching hierarchical nature of DNS. If one of my hosts needs to resolve something outside of my domain, I would want my local DNS server to forward all requests to my parent's DNS server...and not a ROOT DNS server.
PLEASE NOTE: My IT administrator of 'bar.com' is almost always AWOL. So getting any configuration changes on my parent's 'bar'com' DNS server is next to impossible. But at the same token, I have no interest in having 'bar.com' hosts resolving my hosts on 'foo.bar.com'. I am selfish and only care about having my hosts on 'foo.bar.com' resolving hosts on 'bar.com'