Hello
Trying to get my local dnsmasq to resolve a hostname over vpn, it is located at my off-site B location.
Both sites can connect to each other and works fine, all pings well.
Site A subnet: 10.1.0.0/24 (siteA.example.com)
Site B subnet: 10.2.0.0/24 (siteB.example.com)
hostname and ip to be resolved: pc1 - 10.2.0.11
a random client trying to resolve it on siteA: 10.1.0.33
quick look at my /tmp/resolv.dnsmasq on siteA:
from the random client, i can do:
so it all works fine when the DNS on siteB is specified...
But it cannot do:
it throws me all the way to my ISPs dns server.
So the order of how the nameservers are used with dnsmasq are in play here..
i have tried to play around with how the vpn client uses "Accept DNS configuration" to different levels like relaxed, strict or exclusive..
also made sure dnsmasq also has strict-order enabled...
I am pretty new to configuring this kind of setup.. so any hints would be nice.
cheers
Trying to get my local dnsmasq to resolve a hostname over vpn, it is located at my off-site B location.
Both sites can connect to each other and works fine, all pings well.
Site A subnet: 10.1.0.0/24 (siteA.example.com)
Site B subnet: 10.2.0.0/24 (siteB.example.com)
hostname and ip to be resolved: pc1 - 10.2.0.11
a random client trying to resolve it on siteA: 10.1.0.33
quick look at my /tmp/resolv.dnsmasq on siteA:
Code:
server=xxx.xxx.xxx.xx (isp server adress...)
server=xxx.xxx.xxx.xx (isp server adress...)
server=10.2.0.1
server=/siteB.example.com/10.2.0.1
from the random client, i can do:
Code:
nslookup pc1 10.2.0.1
nslookup pc1.siteB.example.com
Name: pc1
Address 1: 10.2.0.11 pc1.siteB.example.com
so it all works fine when the DNS on siteB is specified...
But it cannot do:
Code:
nslookup pc1
it throws me all the way to my ISPs dns server.
So the order of how the nameservers are used with dnsmasq are in play here..
i have tried to play around with how the vpn client uses "Accept DNS configuration" to different levels like relaxed, strict or exclusive..
also made sure dnsmasq also has strict-order enabled...
I am pretty new to configuring this kind of setup.. so any hints would be nice.
cheers