Nick Rout wrote, On 14/08/09 13:41:
Not within my purview, I have no access to the router.
I tried changing the dns settings on my desktop to opendns, but of
course that upset internal DNS services as opendns know nothing about
our lan! It worked as before until the next reboot but then none of
the internal apps back to the server worked. I had to call in the
external people who mucked around for ages until it dawned on them
that internal dns wasn't working, a quick ipconfig /all revealed the
problem and I was very very red faced!

Split DNS is what you want now...


in dnsmasq add this in dnsmasq.conf

server=/localnet/172.16.0.1
server=/criggie.dyndns.org/172.16.0.1
server=/0.16.172.in-addr.arpa/172.16.0.1

So requests for 172.16.0.* or *.criggie.dyndns.org are sent to 172.16.0.1 only, whereas any other DNS lookup is routed to the DNS servers listed in the setting.
resolv-file=/etc/dnsmasq.resolv


This is possible in other caching DNS servers too, but you'll have to google it.

Nick - your router also might not allow DNS queries direct to the internet... depends what level of outbound access is permitted. Bog standard routers allow anything from lan --> internet, but any corporate network is more restrictive (for good reason)


--
Craig Falconer

Reply via email to