Hi,

I've noticed some slightly strange behaviour on trunk (certainly compared with 
older releases) around how names are resolved.

If I have a host "fred", that I configure within LuCI then the dnsmasq command 
line will include records for that, with the appropriate domain (lets call it: 
my.domain.org)

So if I'm on another machine, pointing dns at openwrt then everything is fine, 
my domain name is properly set and query's for "fred" without a domain get the 
domain added and then the result is returned.

If I'm actually on the openwrt box, then whenever I run a query (ping, nslookup 
anything) it doesn't seem to append the domain name (I assumed it would use the 
"search" entry from resolve.conf, or the domain from the hostname) … neither of 
these seem to get looked at and the bare query is sent to dnsmasq … which 
doesn't know the answer since it's appended the domain onto all the host 
records and doesn't keep the non-appended ones.

I believe the problem is with the resolver since it's clearly not using 
resolv.conf … has anyone else seen this?

I'll continue to dig.

Lee.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to