Category Archives: dns

how to check DNS and DHCP on ubuntu

nmcli dev list iface eth0 | grep IP4 nmcli dev list iface eth0 | grep dhcp nmcli dev status nmcli nm status nmcli con status nm-tool Advertisements

Posted in dns, nmcli, ubuntu | Tagged | Leave a comment

DNS wildcard and DHCP with BIND vs dnsmasq

Disable dnsmasq from networkmanager sudo vim /etc/NetworkManager.conf and #dnsmasq sudo service network-manager restart Install and configure dnsmasq sudo apt-get install dnsmasq sudo vim /etc/dnsmasq.conf     listen-address=127.0.0.1 To add *.dev, *.prod      address=/dev/127.0.0.1     address=/prod/127.0.0.1 To add alias:    cname=svn, … Continue reading

Posted in dns, dnsmasq | Leave a comment

DNS query tracing

dig @dns.server target.dns +trace watch it under wireshark, It is very useful to understand how DNS query works especially for a non-cached look up. http://www.thegeekstuff.com/2012/02/dig-command-examples/ As a DNS client, dig will send a standard DNS query to the target DNS … Continue reading

Posted in dig, dns | Leave a comment