Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
latest commit breaks my generated dnsmasq.conf #440
Breaks my generated dnsmasq. All hosts fail to resolve after it is loaded.
The script I'm using to generate is here:
I'm also attaching a diff between the good file and the bad one, but I can't tell what the problem is in my first pass at looking at it.
Thanks for providing us with these hosts files, It has given me peace of mind for quite some time.
I also encountered a problem with my dnsmasq lately upon the release of commit
I'm using the hosts file with this script
I think the reason my dnsmasq got broken was the failure of either the script or my router to properly read the
Could there be another way to block these two domains without using the
Can we maybe use this alternative?
@StevenBlack I am using a shell script not python. I quoted the gist for this script in my post.
The solution suggested by @mateoag works for me as well the "G" in those domains converts to extra ".." (dots) in my dnsmasq.conf which appears to confuse/break dnsmasq.
Removing those lines fixes the problem.
Thanks for the help both of you!
The latest hosts file also contains the following:
This problem is due to dnsmasq not handling unicode characters properly.
I am able to resolve this by filtering with a simple python script. I'm closing because I have a workaround.