Ticket #190 (closed bug: fixed)
DNS queries to locally defined aliases fail from node itself
| Reported by: | luckman212 | Owned by: | dfl-owner |
|---|---|---|---|
| Priority: | major | Milestone: | ng-beta |
| Component: | dashboard | Keywords: | |
| Cc: | Network name: | cloudpound |
Description
I've updated my om2p node to r357. It still seems the OM2P node itself ignores or has trouble with local DNS server lookups. e.g. I have the following defined in the local DNS on my LAN router (192.168.20.1, also runs dnsmasq):
address=/cloudprv.com/192.168.20.248
Yet, when I ssh into the OM2P, here's what I see:
# cat /tmp/resolv.conf && /tmp/resolv.conf.auto search lan nameserver 127.0.0.1 nameserver 192.168.20.1 search lan
# nslookup cloudprv.com Server: 127.0.0.1 Address 1: 127.0.0.1 localhost
nslookup: can't resolve 'cloudprv.com': Name or service not known
# nslookup cloudprv.com 192.168.20.1 Server: 192.168.20.1 Address 1: 192.168.20.1 r1.lan
Name: cloudprv.com Address 1: 192.168.20.248 pbx.lan
So it resolves correctly when I specifically force nslookup to query the local DNS. And it appears to have the right stuff in resolve.conf/resolv.conf.auto. Anything I can do to make this work as desired here?
