Mailinglist Archive: opensuse (389 mails)

< Previous Next >
Re: [opensuse] OT: Pihole Local resolution
* Paul Groves <paul.groves.787@xxxxxxxxx> [03-08-19 15:48]:
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.

I have found many posts relating to this but cannot find and actual solution
to get this to work.

Anyone got a suggestion?

I use
https://pgl.yoyo.org/adservers

just add the list to /etc/hosts

--
(paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri
http://en.opensuse.org openSUSE Community Member facebook/ptilopteri
Registered Linux User #207535 @ http://linuxcounter.net
Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References