-
Notifications
You must be signed in to change notification settings - Fork 279
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
node/dns: allow setting different public-host for root server #809
Comments
isn't there rs-host and ns-host already? |
#630 ? |
Yes, Lines 139 to 143 in 6b47c3a
|
hm ok i thought |
Currently,
I think we need to replace the first one with:
|
Currently, RootResolver gets the
public-host
config and this IP address is used when queried for root NS:Here,
_g6cr3n0._synth.
translates to the public IP of the node. While this works in most cases, when:then
dig +trace
breaks.When tracing, dig will try to query the root NS at the public IP which won't work since it is private.
I think we should have a new config option:
ns-public-host
which:new RootResolver({publicHost: ...})
dig . NS
Can confirm this change makes
dig domain +trace
work properly.The text was updated successfully, but these errors were encountered: