Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Primary nameserver set to 127.0.0.11 in /etc/resolv.conf #497

Closed
imjeffxp opened this issue Aug 29, 2019 · 3 comments
Closed

Primary nameserver set to 127.0.0.11 in /etc/resolv.conf #497

imjeffxp opened this issue Aug 29, 2019 · 3 comments

Comments

@imjeffxp
Copy link

imjeffxp commented Aug 29, 2019

This is a...

  • [ x ] Issue trying to run the docker image

Description

This might be more of a warning than bug as the application still works although this comes up. It looks like the primary nameserver set on the latest image is 127.0.0.11 in /etc/resolv.conf. See below

`[cont-init.d] executing container initialization scripts...
[cont-init.d] 20-start.sh: executing...
stty: 'standard input': Inappropriate ioctl for device
::: Starting docker specific checks & setup for docker pihole/pihole
WARNING Misconfigured DNS in /etc/resolv.conf: Two DNS servers are recommended, 127.0.0.1 and any backup server
WARNING Misconfigured DNS in /etc/resolv.conf: Primary DNS should be 127.0.0.1 (found 127.0.0.11)

nameserver 127.0.0.11
options ndots:0`

This appears to happen every time I bring up a new container using docker-compose up.

Steps to Reproduce and debugging done

  1. Run the docker-compose file in the readme
@Dudemullet
Copy link

@imjeffxp I was seeing your exact same situation. Updating my docker fixed this issue. If updating docker is not an option look into alternative solutions. via @diginc here. Also, might I suggest closing this issue as a duplicate from #410

@Haarolean
Copy link

This is not an issue. 127.0.0.11 is docker's internal DNS resolver, which in turn uses your system DNS servers.

@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants