I have set a test environment for my training at home consisting of a MS domain controller (PDC) with a DNS, one network server (NWSVR) running Ubuntu with bind9, nginx, webmin and chrony and a third server running Ubuntu and Icinga. The environment is set up so the Icinga server queries the NWSVR and this queries the MS PDC. I named my domain tdchdev.net since this is my home development (hdev) network (.net). I know there are more easy implementations but this is what is going to be replicated at a data center where we provide services to some customers. When I query for a server at the tdchdev.net domain, I got no answer and it looks like the query tries to go to the root DNS servers: ; <<>> DiG 9.18.28-0ubuntu0.24.04.1-Ubuntu <<>> pdc.tdchdev.net ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 40744 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 65494 ;; QUESTION SECTION: ;pdc.tdchdev.net. IN A ;; AUTHORITY SECTION: net. 900 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1723051005 1800 900 604800 86400 ;; Query time: 85 msec ;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP) ;; WHEN: Wed Aug 07 17:17:15 UTC 2024 ;; MSG SIZE rcvd: 117 because of that I created another domain at the MS PDC and made the same query from the Icinga server: ; <<>> DiG 9.18.28-0ubuntu0.24.04.1-Ubuntu <<>> pdc.skate.biz ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48257 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 65494 ;; QUESTION SECTION: ;pdc.skate.biz. IN A ;; ANSWER SECTION: pdc.skate.biz. 300 IN A 217.26.63.20 ;; Query time: 436 msec ;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP) ;; WHEN: Wed Aug 07 17:18:38 UTC 2024 ;; MSG SIZE rcvd: 58 the config file at the NWSVR reads like this: zone "tdchdev.net" { type forward; forwarders { 192.168.255.220; }; }; zone "skate.biz" { type forward; forwarders { 192.168.255.220; }; }; it looks like bind9 is not reading the .net forward directive. Anyone that can help me fix this?
View Tag Cloud
Ubuntu Forums Code of Conduct