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

can't modify dns #3

Open
fbion opened this issue Oct 3, 2022 · 2 comments
Open

can't modify dns #3

fbion opened this issue Oct 3, 2022 · 2 comments

Comments

@fbion
Copy link

fbion commented Oct 3, 2022

system config network
when i change the Nameserver ip to 192.168.2.2
dns log will show :
dnsmasq
reading /etc/resolv.conf
using nameserver 192.168.2.1

dns will restore to 192.168.2.1

@sonertari
Copy link
Owner

Have you restarted the system after this change? (You could perhaps restart the network and dnsmasq too, but restarting the system may be better.)

@fbion
Copy link
Author

fbion commented Oct 3, 2022

Have you restarted the system after this change? (You could perhaps restart the network and dnsmasq too, but restarting the system may be better.)

i Create /etc/dhcpleased.conf
interface em1 {
ignore dns
}
may be useful

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

No branches or pull requests

2 participants