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

Resolve blocked domains to some IP #24

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

girishso
Copy link

So the browser does not keep showing "resolving..." for the blocked domains.

Let me know what you think!

server.go Outdated
Ttl: 600,
}

a := &dns.A{rr_header, net.ParseIP("192.168.1.117").To4()}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't just use this random IP because it may be an actual IP to some user later. In an ideal world I would think we would just return an NXDOMAIN result.

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

Successfully merging this pull request may close these issues.

2 participants