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

cant get resolver to work #19

Closed
brpaz opened this issue Jun 20, 2015 · 2 comments
Closed

cant get resolver to work #19

brpaz opened this issue Jun 20, 2015 · 2 comments

Comments

@brpaz
Copy link

brpaz commented Jun 20, 2015

HI.
I trying to setup dnsdock and I have the container running but when I run curl http://dnsdock.docker/services I get the following error:

curl: (6) Could not resolve host: dnsdock.docker

When i run dig .docker I get : " no matches found: *.docker"

I am using linux mint 17 and here is my /etc/resolv.conf:

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
search lan
nameserver 172.17.42.1

What I am doing wrong?

@PabloCastellano
Copy link

nameserver 172.17.42.1 must be placed before nameserver 127.0.0.1

@brpaz
Copy link
Author

brpaz commented Jun 20, 2015

yeah, I thought about it too, but i couldnt figure it out how to put it before, since /etc/resolv.conf is dynamically generated. I added to "/etc/resolvconf/resolv.conf.d/head" and after some tries it start working.

Thank you.

@brpaz brpaz closed this as completed Jun 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants