开发者

Unbound DNS Default Response

开发者 https://www.devze.com 2023-03-13 07:39 出处:网络
Using the current SVN of the Unbound DNS resolver. I would like to have a configuration 开发者_JAVA技巧where it will hand back a default IP? IE opendns if you attempt to resolve nonexistentdomain.com

Using the current SVN of the Unbound DNS resolver. I would like to have a configuration 开发者_JAVA技巧where it will hand back a default IP? IE opendns if you attempt to resolve nonexistentdomain.com it will return the IP of their "not-found" web server.


This isn't possible with Unbound.

Unbound can override external data, but it has no support in its local-zone: configuration setting for synthesising records for a domain only if the originally requested external data can't be resolved.


It's not possible with the local-zone but it's trivial with the python module hooks.

Performance on the other hand... :-)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号