[Dnsmasq-discuss] multi server configuration doubts...

Stefano Bridi stefano.bridi at gmail.com
Wed Feb 17 10:49:45 GMT 2010


Hi all, I have a setup with a central office and 4 small remote office
all interconnected via vpn (openvpn) with a star design.
In every office there is a dnsmasq that work just fine.
Every dnsmasq is configured with something similar to:
#########################################
bogus-priv
localise-queries
filterwin2k
no-resolv
server=x.x.x.x
server=y.y.y.y
expand-hosts
domain=mydomain.net
dhcp-range=192.168.0.10,192.168.0.60,5h
dhcp-option=3,0.0.0.0
dhcp-option=42,0.0.0.0
dhcp-option=44,192.168.0.251     # set netbios-over-TCP/IP
nameserver(s) aka WINS server(s)
dhcp-option=46,8           # netbios node type
dhcp-authoritative
cache-size=4096
no-negcache
query-port=0
#########################################
Every office has his different subnet so I can route (and easily
filter) traffic from one office to another.
Every office act like a separate island but at least at IP level, from
the central site I can ping/VNC/rdp every host.
At the moment throught a WINS infrastracture, from windows client (and
with winbind also from linux) in the central
office I can also ping "by name" the host in the remote office.
But if I want to resolve names by DNS?
I know how to do  that by changing the "domain" in every office:
domain=office1.mydomain.net (in the remote office)
and by example
server=/office1.mydomain.net/192.168.0.254
in the central office.

...and finally the (I think "nonsense"...) question... Are there
alternatives keeping the same domain in every office?


thanks
stef



More information about the Dnsmasq-discuss mailing list