nameserver into dhcpcd.conf vs resolv.conf Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
User avatar
Joulinar
Posts: 4814
Joined: Sat Nov 16, 2019 12:49 am

Re: nameserver into dhcpcd.conf vs resolv.conf

Post by Joulinar »

probably PiHole installer is writing it down based on what was selected during install process.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
vonloschz
Posts: 34
Joined: Wed Apr 21, 2021 4:30 pm

Re: nameserver into dhcpcd.conf vs resolv.conf

Post by vonloschz »

base on pi-hole git .... the setDHCPCD fonction inside pi-hole/automated install/basic-install.sh create this file.
User avatar
Joulinar
Posts: 4814
Joined: Sat Nov 16, 2019 12:49 am

Re: nameserver into dhcpcd.conf vs resolv.conf

Post by Joulinar »

yep that's the script DietPi is using to install PiHole. Basically that's what is used

Code: Select all

INSTALL_URL_ADDRESS='https://install.pi-hole.net'
which will result in

Code: Select all

https://raw.githubusercontent.com/pi-hole/pi-hole/master/automated%20install/basic-install.sh
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
vonloschz
Posts: 34
Joined: Wed Apr 21, 2021 4:30 pm

Re: nameserver into dhcpcd.conf vs resolv.conf

Post by vonloschz »

I re-installed and set a static ip on dietpi.
will see if pi-hole create again this dhcpcd.conf.
User avatar
Joulinar
Posts: 4814
Joined: Sat Nov 16, 2019 12:49 am

Re: nameserver into dhcpcd.conf vs resolv.conf

Post by Joulinar »

in the past PiHole even changed DNS resolution to localhost but this changed in meantime
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply