This is a dig for a record present in my database, I anonymized the first two octets of my IPs:
[root@pdns-dr-1 ~]# dig campus.georgetown.edu @192.168.39.40 ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.3 <<>> campus.georgetown.edu @192.168.39.40 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37194 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;campus.georgetown.edu. IN A ;; ANSWER SECTION: campus.georgetown.edu. 30 IN A 192.168.19.164 ;; Query time: 1 msec ;; SERVER: 192.168.39.40#53(192.168.39.40) ;; WHEN: Fri Oct 5 15:34:08 2012 ;; MSG SIZE rcvd: 55 This a dig for a record that is not in the db, tcpdump shows the request was sent out to external DNS server: [root@pdns-dr-1 ~]# dig georgetown.edu @192.168.39.40 ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.3 <<>> georgetown.edu @192.168.39.40 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21256 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;georgetown.edu. IN A ;; ANSWER SECTION: georgetown.edu. 30 IN A 192.168.39.37 georgetown.edu. 30 IN A 192.168.99.87 ;; Query time: 4 msec ;; SERVER: 192.168.39.40#53(192.168.39.40) ;; WHEN: Fri Oct 5 15:34:13 2012 ;; MSG SIZE rcvd: 64 On Fri, Oct 5, 2012 at 2:53 PM, Peter van Dijk <[email protected]> wrote: > Hello Mohamed, > > can you also post the complete output of dig? Please don't obscure the domain > name. > > On Oct 5, 2012, at 18:06 , Mohamed Lrhazi wrote: > >> The dig is directed at the ip pdns is listening on. >> My config is http://paste.ubuntu.com/1262160/ > > Kind regards, > -- > Peter van Dijk > Netherlabs Computer Consulting BV - http://www.netherlabs.nl/ > > _______________________________________________ > Pdns-users mailing list > [email protected] > http://mailman.powerdns.com/mailman/listinfo/pdns-users _______________________________________________ Pdns-users mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-users
