Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2019 11:57:33 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        =?UTF-8?Q?Trond_Endrest=C3=B8l?= <trond.endrestol@ximalas.info>
Cc:        questions <questions@freebsd.org>
Subject:   Re: local_unbound not working
Message-ID:  <CAAdA2WNQCYy6yyUe0-dabuwttpzy1cwutvrTP4R02jsvCdvGBQ@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.21.9999.1906221748070.1251@enterprise.ximalas.info>
References:  <CAAdA2WOLifnmXujOL6t2iN5wcXSggxCZxb120FnO%2BVYxydFrvg@mail.gmail.com> <alpine.BSF.2.21.9999.1906221748070.1251@enterprise.ximalas.info>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 22 Jun 2019 at 18:56, Trond Endrest=C3=B8l <trond.endrestol@ximalas=
.info>
wrote:

> On Sat, 22 Jun 2019 18:03+0300, Odhiambo Washington wrote:
>
> > I have a system which is an exact replica of the other except for the D=
NS
> > names and IP addresses.
> > The system is FreeBSD-12.
> > Now, on the original system, local_unbound is working perfectly for nam=
e
> > resolutions.
> > On the replica, name resolution is not working.
> > I have edited the IPs correctly in unbound.conf, resolv.conf, rc.conf -
> > every other place I can think of.
> > What would cause this failure??
>
> Wildly speculating here of course, does the replica live in the same
> subnet as the original, and is the replica allowed to speak to the
> external DNS service?
>

The replica lives in a different subnet. It's actually being used as a
gateway server elsewhere.


>
> Any typos in the IP address, netmask, gateway, or name of the
> interface(s)?
>

The configs are identical except for  interface: 192.168.xx.254

Are the MAC addresses unique in either case?
>

Yes. They are two different servers living in two physical locations, in
two different ISPs.


>
> Is the switchport placed in shutdown, assuming a manageable/programmable
> switch?
>

The LAN/WAN interfaces are both functional.
 The PF configuration differs only in the WAN IP and LAN subnet.
If I put the same DNS servers that I have in /var/unbound/forward.conf in m=
y
/et/resolv.conf, DNS resolution works.


--=20
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WNQCYy6yyUe0-dabuwttpzy1cwutvrTP4R02jsvCdvGBQ>