FreeBSD jails, dns and ping

Adam Vande More amvandemore at gmail.com
Mon Feb 5 23:07:33 UTC 2018


On Mon, Feb 5, 2018 at 3:56 PM, James B. Byrne <byrnejb at harte-lyne.ca>
wrote:

>
> On Mon, February 5, 2018 16:38, Adam Vande More wrote:
> > On Mon, Feb 5, 2018 at 3:18 PM, James B. Byrne via freebsd-questions <
> > freebsd-questions at freebsd.org> wrote:
> >
> >> Can anyone explain what is causing this particular inconsistency?
> >> Unbound can resolve the address but ping cannot?
> >>
> >
> > What is inconsistent about that? Just because something has a valid
> > DNS entry doesn't imply it will respond to ping.
>
> What is inconsistent is that ping will not resolve the address but
> drill will. The only nameserver defined in /etc/resolv.conf is
> 127.0.0.1.  We never get to the point of determining if the target
> replies to the ping.
>
> >
> > Also pkg uses SRV records, it's been discussed here before.
> >
>
> pkg.freebsd.org happens to be the domain that I used to test whether
> or not ping could resolve.  I get the same results irrespective of the
> domain used.
>

You have included an trailing . in the ping command.

-- 
Adam


More information about the freebsd-questions mailing list