I want to configure bind9 to be a local DNS only with no internet access at all. So I have 5 PCs in my virtual domain xy.com. Within this domain there is no access to the internet.
The DNS server has entries like:
- pc1.xy.com IN A 10.1.1.1
- pc2.xy.com IN A 10.1.1.2
- .
- .
- pc5.xy.com IN A 10.1.1.5
Bind is configured correctly but when I do a "dig @localhost pc1" on the DNS server it does not work because he gets stuck contacting the root servers. But I only want him to be local and to answer which IP pc1 has.
How can I achieve this?
www IN A 1.2.3.4
andftp IN A 5.6.7.8
then the FQDN version of those records iswww.example.com
andftp.example.com
respectively. You should not configure TLDs or records in that namespace. You should configure your clients with a domain name and search domains (if there are multiple), DHCP option 15 and 119 respectively.