Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 2014 14:50:16 +0000
From:      krad <kraduk@gmail.com>
To:        freebsd@fongaboo.com
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Can't get Unbound caching/recursive server to answer on outside IP
Message-ID:  <CALfReyc2g0HVbt-Q0r_p5mxFh%2B%2BHsrm-XypXOJDrfyvdEbHT3A@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1411022041450.8732@helix.wtfayla.net>
References:  <86lhnup5l3.fsf@gly.ftfl.ca> <alpine.BSF.2.00.1411022041450.8732@helix.wtfayla.net>

next in thread | previous in thread | raw e-mail | index | archive | help
have a look at sockstat -l

On 3 November 2014 01:49, <freebsd@fongaboo.com> wrote:

>
> Have a FreeBSD 10 machine. Have two outside IPs bound to it. First IP has
> NSD running as an authoritative server. THis is specified specifically in
> the interface entry of nsd.conf.
>
> Trying to run caching/recursive nameserver with unbound on the second IP.
> I specified the following entries in unbound.conf:
>
>     interface: 127.0.0.1
>     interface: <Second IP>
>
>
> I followed the tutorial at https://calomel.org/unbound_dns.html. I added
> lines for unbound-control. But other than that, and the extra interface
> lines, its as specified in the tutorial... Oh, also the locations are
> modified from /var/unbound/etc/ to /var/unbound/.
>
> I can get it to resolve when I run nslookup and set the server to
> 127.0.0.1, but not when I set it to the second IP.
>
> I'm wondering if something else is floating around on 127.0.0.1 port 53?
> Because when I run unbound-control dump_requestlist, I get an empty list. I
> would think I would see the requests I made successfully on 127.0.0.1.
>
> BTW, I have this in IPFW:
>
> allow udp from any to any dst-port 53 in
>
>
> Any ideas why I can't get answers on the second IP?
>
>
>  -------------------------------------------------------------------------
>  shot through the heart              ooh baby do you know what that's worth
>  and you're to blame                         ooh heaven is a place on earth
>  darling you give love                  they say in heaven love comes first
>  a bad name                              we'll make heaven a place on earth
>  ORBITAL                                                     "Halcyon Live"
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALfReyc2g0HVbt-Q0r_p5mxFh%2B%2BHsrm-XypXOJDrfyvdEbHT3A>