-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Publish secondary DNS IP Address - dhcp-option=6 #1708
Comments
I have the same problem! No my dns rewrites don't work for my cellphone which is quiet annoying. |
@ameshkov can you check this #1822 (comment) |
I'd definitely like to see this, plus being able to set the domain name |
Hi! We've recently pushed a patch for this. Could you
please update to the latest development snapshot and check
if that fixes the |
I've just updated to the latest docker(edge) and the 8.8.8.8 address is gone! |
Awesome, thanks for checking it! |
We'll close this issue for now. @milothomas, please feel free to reopen with more details if the development version doesn't fix it for you. |
hey, i tried last docker images (latest and edge) for testing dhcp 6 option and behavior seems to be incorrect. |
@loll31, hi and thank you for your message. There seems to be a misunderstanding or, perhaps, a documentation issue here. In this issue we fixed the logic of sending AdGuardHome's own IP addresses when users don't specify their own servers with option 6. Currently, options set by users silently override the ones set by AdGuardHome automatically, so if you set only one DNS server with option 6 then the DHCP clients will only receive the one address. Maybe we need to print a warning,
on the @ameshkov, what do you think? I personally favour the wiki approach. |
@ainar-g users can specify multiple DNS servers using option 6, right? If so, we should just explain that in the Wiki that if this option is set, you'll need to specify AGH address explicitly. |
@ainar-g , @ameshkov , thanks for the feedback. i tryed to set 2 IP via option ( - 6 ip ip1,ip2 or - 6 ip ip1 ip2 , w/ or w/o quotes, -6 text "ip1,ip2" or - 6 '''ip','ip'" ...) in vain. |
@ameshkov, @loll31, it seems that AdGuardHome currently cannot parse
two IPs there. Or rather, it can only do it if you use the
|
Do you have the syntax for hex form ?
|
@loll31, try this: 6 hex c0a80101c0a80102 |
@ainar-g client sets both ip addresses ! +1 Nice ! |
Maybe not the right place but i try to add option 252 for proxy information. I use |
@loll31, definitely not the right place to ask. Please write a new issue. We'll label it as a question and respond when we have the time. |
ok. See you |
When using AdGuard as DHCP server, only the primary DNS server address is published. This causes some OnePlus devices to automatically use 8.8.8.8 as the secondary DNS server.
Can we have an option to publish the same IP address for both primary and secondary DNS server addresses?
The text was updated successfully, but these errors were encountered: