[ubuntu-za] DHCP DNS not included in DNS lookup

Charl Wentzel charl.wentzel at vodamail.co.za
Mon Jan 25 20:30:47 UTC 2016


On 25/01/2016 18:19, Raoul Snyman wrote:
> What DNS server did you set up for DHCP to hand out? 
a. For the external network (eth0) the network router supplies the DHCP 
details.  These are all existing and working networks, so I don't expect 
the problem to be here

b. For the USB (internal Beagle-to-PC) network (usb0), the Beablebone 
comes preconfigured with with dnsmasq.

$ cat /etc/dnsmasq.d/usb0-dhcp
# Managed by /opt/scripts/boot/autoconfigure_usb0.sh - Do not modify 
unless you know what you are doing!
# Disable this file by prepending "." or appending "~" to the filename.
# Removing the file will just cause 
/opt/scripts/boot/autoconfigure_usb0.sh to recreated!
#
# disable DNS by setting port to 0
port=0
interface=usb0
#one address range
dhcp-range=192.168.7.1,192.168.7.1
dhcp-option=3
except-interface=lo
except-interface=eth0
listen-address=192.168.7.2
# NOTE: dnsmasq is partly configured by 
/opt/scripts/boot/autoconfigure_usb0.sh - Changing configuration 
directory or file inclusion/exclusion may affect its functionality!

Charl



More information about the ubuntu-za mailing list