Skip to content

vDNS Debugging

Dilip edited this page Mar 2, 2016 · 4 revisions

Steps to debug virtual-DNS issues

If there is a specific host/VM not getting resolved,

2016-02-25 17:14:57.079 XmppTxStream: Sent xmpp message to: <CONTROLLER-IP> Port 8093 Size: 452 Packet: <?xml version="1.0"?> <iq type="set" from="<HYPERVISOR>/dns" to="network-dns@contrailsystems.com/dns-peer" id="10020"> <dns transid="10020"> <update> <virtual-dns>default-domain:project-name-virtual-DNS</virtual-dns> <zone>project- name.local</zone> <entry> <class>1</class> <type>1</type> <name>vm-hostname</name> <data>192.168.1.10</data> <ttl>86400</ttl> <priority>0</priority> </entry> </update> </dns> </iq> $ controller/src/xmpp/xmpp_connection.cc 211

How to dump the zone files' contents to see if the records are in bind

  • contrail-rndc -c /etc/contrail/dns/contrail-rndc.conf sync - sync records from jnl to zones files

  • contrail-rndc -c /etc/contrail/dns/contrail-rndc.conf dumpdb -zones

  • The above command creates a file "named_dump.db" that has all records from all zones, which you can grep to look for records

Clone this wiki locally