[Dnsmasq-discuss] Unable to connect by hostname for local machines

dnsmasq at ailsby.net dnsmasq at ailsby.net
Tue Oct 23 04:24:34 BST 2012


I am trying to setup dnsmasq so that I can use the OpenDNS servers for 
my younger children, and then have all other devices use a different dns 
server (Google's).

The program that I am having is that I cannot use the hostname of any of 
my local devices to connect, I can only do it via the ip address.  This 
happens with my ubuntu server, and osx machines.  My windows laptop does 
not have an issue, and can ping other devices by hostname.

As far as I can tell, all else is working properly.  The devices that 
are supposed to use OpenDNS are, and the ones that should use google's 
dns are.

My setup:
* tomatousb on my router
* dnsmasq is version 2.61
* static dns set to the OpenDNS ips
* static ips assigned to the machines I want to use the google dns servers
* dynamic ips assigned to the machines to use the OpenDNS servers. Set 
to the range of 192.168.1.100 to 192.168.1.199

Options set for dnsmasq:
# Range of IPs that are set up as static (computers that should have 
unrestricted DNS)

dhcp-range=set:green,192.168.1.10,192.168.1.99

dhcp-option=net:green, 3, 192.168.1.1 #Assigns "green" gateway to these 
clients
dhcp-option=net:green, 6, 8.8.8.8 #Assigns "green'" DNS server to these 
clients (google).

Any ideas on what I need to do so that the devices in the ip range 
192.168.1.10 to 192.168.1.99 can use hostnames to connect to each 
other?  Is there any other information that is needed to understand this 
issue?

Thanks



More information about the Dnsmasq-discuss mailing list