Skip to content
New issue

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

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

Already on GitHub? # to your account

Comments out multiple times in resolv.conf #7

Closed
matthewvalimaki opened this issue Mar 28, 2016 · 1 comment
Closed

Comments out multiple times in resolv.conf #7

matthewvalimaki opened this issue Mar 28, 2016 · 1 comment

Comments

@matthewvalimaki
Copy link

When using go-dnsmasq --default-resolver --append-search-domains --hostsfile=/etc/hosts -n 127.0.0.1:8600 as a service and restarting it seems to cause additive commenting in /etc/resolv.conf:

# # #nameserver 8.8.8.8
# # # # # # nameserver 8.8.4.4

All I need to do is to restart and # is added. Reason why the lines look different is because I manually modified the file to enable the 1st nameserver.

I recommend adding a check before # is added.

janeczku pushed a commit that referenced this issue Mar 28, 2016
* Fix #7 multiple comments in resolv.conf
* Enable timestamps in console logs
@janeczku
Copy link
Owner

Thanks for you report! 😄

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants