[Unbound-users] basic local zone use case, nslookup good, ping bad

Ben Iggulden ben.iggulden at lastmilexchange.com
Wed Jul 28 03:25:10 UTC 2010

Hello Unbound Users,


I'm running a server on my home network.  The server runs a wiki and
some other things.  I often work on a laptop which is sometimes
connected to the local network and sometimes external to it.

So I'd like the same URL to resolve no matter which network I happen to
be on at the time.  i.e. If I'm at home the IP is (the
local one) and if I'm not then I need


Enter 'unbound' which I installed to help me with this problem.  

I've told the local network router that the machine running unbound is
the primary DNS:

My servers.conf file:





access-control: allow

do-not-query-localhost: no

local-zone: "dev.lastmilexchange.com." redirect

local-data: "dev.lastmilexchange.com. IN A"


local-data-prt: " homedns"


server: div-anchor-file: "C:\[etc]"


And when I try to use this, nslookup is grand but ping is not.  Using
the browser to go to the wiki seems to suffer the same problem ping
does, though if I hit it via the local IP it's all good.


C:\>nslookup dev.lastmilexchange.com

Server:  homedns



Name:    dev.lastmilexchange.com




C:\>ping dev.lastmilexchange.com


Pinging dev.lastmilexchange.com [] with 32 bytes of data:


Destination host unreachable.

Destination host unreachable.

Destination host unreachable.

Destination host unreachable.


Ping statistics for

    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),


Ps. All machines here are windows.  Yeh, I know.

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20100728/98bfdbc2/attachment.htm>

More information about the Unbound-users mailing list