On Fri, 31 May 2013, 13:47, [email protected] wrote:

} I want to be able to use the configuration entered in /etc/hosts, as the
} sole data driven means of configuring host selection order, assuming the
} hosts are always going to be on an internal network, with well known 
} addresses.

"dnsmasq" has some options which may be applicable here.

>From the manual:-

dnsmasq is a lightweight DNS, TFTP and DHCP server. It is intended to 
provide coupled DNS and DHCP service to a LAN.

Also permitted is a -S flag which gives a domain but no IP address; this 
tells dnsmasq that a domain is local and it may answer queries from 
/etc/hosts or DHCP but should never forward queries on that domain to any 
upstream servers.  local is a synonym for server to make configuration 
files clearer in this case.

[ /etc/dnsmasq.conf ]

# Add local-only domains here, queries in these domains are answered
# from /etc/hosts or DHCP only.
#local=/localnet/

T.



_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to