-
Notifications
You must be signed in to change notification settings - Fork 109
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
DNS works one my machine, not on a coworkers #132
Comments
Hm a grep of dinghy's code doesn't even find the string |
the ppid is 1 (launchd) on both machines. Can't find anything in |
Maybe I should add PIDs to It's got to be something else running that daemon though, it wouldn't make any sense for dinghy to start it up with these parameters. You can see dinghy's launch param code at https://github.com/codekitchen/dinghy/blob/master/cli/dinghy/dnsmasq.rb#L56 |
alright, so I found the cause of the Do we have to reload/reboot/reinstall something? Maybe a reinstall is in order? |
Hm, verify that the resolver configuration has been installed: $ cat /etc/resolver/docker
# Generated by dinghy
nameserver 127.0.0.1
port 19322 If that's there then I'm not sure, not something I've run into before. You could try a reinstall but I'm not optimistic that'll help. Have you rebooted the OSX host? You can test the dnsmasq daemon with: $ dig @127.0.0.1 -p 19322 test.docker
...
test.docker. 0 IN A 192.168.99.101
... |
The resolver looks good.
|
Looks like dinghy's dnsmasq is still either not running or not responding on the expected ip/port. You said that it looks the same as yours now, which means |
My dnsmasq appears to be running with the same command as above, and I can test it directly with the dig command above, but when I just try to browse to
|
@mrmachine Sorry, I didn't post my solution to this... It may be different for you, but basically what I ended up doing was: a) uninstalling dnsmasq (it was installed with homebrew) |
@mrmachine it's expected that It'd be best to move this discussion to a separate issue |
So I am trying to get some other developers set up with
dinghy
, but have ran into a snag.I can get all the way to when I want to hit my web container using the dinghy dns (blah_web_1.docker). This resolves on my machine, but not my coworkers.
After some digging, the only difference I see is that his dnsmasq process seems a bit different than mine:
Me:
/usr/local/sbin/dnsmasq --no-daemon --listen-address=127.0.0.1 --port=19322 --bind-interfaces --no-resolv --address=/.docker/192.168.99.100
Him:
/usr/local/opt/dnsmasq/sbin/dnsmasq --keep-in-foreground -C /usr/local/etc/dnsmasq.conf
The contents of that conf file are:
I assumed this was something he had set up for something else, so I killed that process and halted/up'd
dinghy
, but it results in the same process and same issue. He says he doesn't recall usingdnsmasq
for anything else so maybedinghy
is doing something weird.Any ideas how to get it to working order? we have the same
dinghy
versions, but maybe a reinstall?The text was updated successfully, but these errors were encountered: