Mailinglist Archive: opensuse (389 mails)

< Previous Next >
Re: [opensuse] OT: Pihole Local resolution
On 08/03/2019 21.46, Paul Groves wrote:
Hi all.

Is anyone using pihole? I am having trouble resolving local host names.

I did the following to my pihole to allow local host resolution:
nano /etc/dnsmasq.d/02-lan.conf
Add this line:
addn-hosts=/etc/pihole/lan.list

nano /etc/pihole/lan.list
add this line:
192.168.0.11 server.local server


I can resolve it like this:
pign 192.168.0.11

And this:
ping server.local

but not like this:
ping server


This happens for all local hostnames.

Maybe you need in /etc/resolv.conf

search local

Notice, however, that the domain .local should be avoided. In
particular, there is a conflict between Avahi and Windows Active Directory.


--
Cheers / Saludos,

Carlos E. R.
(from 15.0 x86_64 at Telcontar)

< Previous Next >
Follow Ups
References