Skip to content

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