Changing DNS

sash1

Member
I read about changing your DNS to 8.8.8.8. however by box won't let me save this. After saying its saved, when I go back into network settings it has changed back to default DNS.
Any Ideas anyone? I'm having glithing problem since having new VM hub
 
what have you got installed on the box, I had same issue on Atv 6, tbh not tried on 6.1

Just checked same on atv 6.1

There is a way round it, will need to dig it out
 
It usually takes eventually. You can do through network adapter menu or nameserver settings.

Sent from my HUAWEI VNS-L31 using Tapatalk
 
It usually takes eventually. You can do through network adapter menu or nameserver settings.

Sent from my HUAWEI VNS-L31 using Tapatalk
It saves it until the network is restarted you can modify a file on the box but can't remember which one off hand
 
What does that even mean bangord???? that sounds like me after 3 shandies

are you 2 taking the p
 
Last edited by a moderator:
Ask grog mines done on my router lol. I'm trying to refresh his memory :-)

Sent from my HUAWEI VNS-L31 using Tapatalk
 
See what oor Grog says. He's been in this sitch before I remember where has needed the DNS change to remain so seems so...

I'm not VM.

Sent from my HUAWEI VNS-L31 using Tapatalk
 
Fixing this is not one for the light hearted LOL

You need to edit the file /etc/udhcpc.d/50default (I would make a copy first)

Open the file in something like Notepad ++ and look for the following lines
Code:
               if [ -x /sbin/resolvconf ]; then
                       echo -n "$R" | /sbin/resolvconf -a "${interface}.udhcpc"
               else
                       echo -n "$R" > "$RESOLV_CONF"
               fi

and then comment those lines out by putting a # at the beginning of each of the 5 lines leaving you

Code:
#               if [ -x /sbin/resolvconf ]; then
#                       echo -n "$R" | /sbin/resolvconf -a "${interface}.udhcpc"
#               else
#                       echo -n "$R" > "$RESOLV_CONF"
#               fi

Save the changes on the box. Now any changes you make to dns settings should save for ever.
 
Lol and he thought I was taking the p! Not put 8844 and 8888 in anywhere???

Edit - ah this stops the resolve just after you change nameservers...
 
Last edited:
Back
Top