0
The

Many ^@-characters in line nameserver in resolv.conf

Recommended Posts

I use  "Armbian_5.59_Tinkerboard_Debian_stretch_next_4.14.67". After every reboot the line for the nameserver in resolv.conf looks like this:

^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@nameserver 192.168.3.1

When I delete all ^@ chars my networks works fine. After reboot the characters are inserted again. I tried "chmod 444 resolv.conf" but after reboot resolv.conf has 644 again. How can I correct this? What is the problem with my installation?

 

Best regards.

Share this post


Link to post
Share on other sites
5 hours ago, martinayotte said:

Check if this file has corruption too : /etc/resolvconf/resolv.conf.d/original

I found /etc/resolvconf/resolv.conf.d/head. I fixed it there, rebooted and it works. Thanks a lot!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0