Topics Map > InfoBlox DNS
Topics Map > DDI Pilot

Infoblox DNS: verifying DNS change

Infoblox DNS: verifying DNS change
You can use dig to query a specific server to get that server's view of the state of a zone with the '@$server' parameter. This may be useful in order to assess if all authoritative nameservers agree on NS records for a given zone.
[m7h@trigger]$ dig @adns0 -x 144.92.67.158 +short
mcfly.doit.wisc.edu.
notice the -x when doing a reverse IP lookup
[m7h@trigger]$ dig @adns0 -x 144.92.67.158 +short
mcfly.doit.wisc.edu.

[m7h@trigger]$ dig @adns0 r-peer.net.wisc.edu AAAA +short
2607:f388:0:101::1
  • Another way; Do a zone transfer from adns0 and grep for the information you are looking for
    [m7h@trigger]$ dig @adns0 doit.wisc.edu AXFR | grep mcfly
    mcfly.doit.wisc.edu. 14400 IN A 144.92.67.158

    [m7h@trigger]$ dig @adns0 net.wisc.edu AXFR | grep r-peer | grep AAAA
    r-peer.net.wisc.edu. 14400 IN AAAA 2607:f388:0:101::1
    r-peer-2.net.wisc.edu. 14400 IN AAAA 2607:f388:0:101::2
    r-peer-2-xe-0-1-0-1345.net.wisc.edu. 14400 IN AAAA 2607:f388:0:204::2
    r-peer-2-xe-1-0-0-0.net.wisc.edu. 14400 IN AAAA 2607:f388:0:200::2
    r-peer-xe-1-0-0-0.net.wisc.edu. 14400 IN AAAA 2607:f388:0:200::1
    r-peer-xe-2-0-0-1791.net.wisc.edu. 14400 IN AAAA 2607:f388:0:201::2
    r-peer-xe-2-1-0-954.net.wisc.edu. 14400 IN AAAA 2607:f388:0:2200::1

    [m7h@trigger]$ dig @adns0 -x 144.92.67 AXFR | grep mcfly
    158.67.92.144.in-addr.arpa. 14400 IN PTR mcfly.doit.wisc.edu.
  • Another useful tip; verify the zone serial is that what you would expect. All authoritative servers for a given zone should have the same serial number
    [m7h@grunt ~]$ digall doit.wisc.edu SOA +short | grep ^adns
    adns0.doit.wisc.edu:adns0.doit.wisc.edu. hostmaster.doit.wisc.edu. 2016110400 7200 1800 3628800 600
    adns1.doit.wisc.edu:adns0.doit.wisc.edu. hostmaster.doit.wisc.edu. 2016110400 7200 1800 3628800 600
    adns2.doit.wisc.edu:adns0.doit.wisc.edu. hostmaster.doit.wisc.edu. 2016110400 7200 1800 3628800 600
    adns3.doit.wisc.edu:adns0.doit.wisc.edu. hostmaster.doit.wisc.edu. 2016110400 7200 1800 3628800 600