I have the following wildcard entry in my /lib/ndb/local:
cname=server.local
dom=*.local
Essentially I want every name to resolve back to my server.
Now, ndb/dnsdebug is able to resolve any host just fine:
cpu% ndb/dnsdebug
> foobar
----------------------------
answer server.local 1 hr ip 10.0.0.1
----------------------------
But the lookup fails when issued on a unix box:
$ nslookup foobar.local
Server: 10.0.0.1
Address: 10.0.0.1#53
<5 seconds delay>
*** Can't find foobar.local: No answer
Specifying the server in ndb/dnsdebug shows the following:
cpu% ndb/dnsdebug
> foobar
<delay>
<delay>
<delay>
<delay>
<delay>
<delay>
----------------------------
answer server.local 1 hr ip 10.0.0.1
----------------------------
How do I fix this so that these dns lookups work without delays on all machines on my network?
The dns server is started as "ndb/dns -sr" in cpurc.