Static DNS
- This topic has 0 replies, 1 voice, and was last updated 8 years, 11 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Home › Forums › MultiConnect OCG › Static DNS
Tagged: DNS, resolv.conf, Static DNS
I am looking into configuring a static DNS on my MT100EOCG.
The problem is that resolv.conf is a symbolic link to /var/run/resolv.conf, which is resulting in my changes to resolv.conf being lost after reboot.
I have solved this by adding a script to /etc/ppp/ip-up.d that:
echo “nameserver 8.8.8.8” > /etc/resolv.conf
My questions are, why is resolv.conf a symbolic link to /var/run/ (RAM) in the first place and is my solution the best way of doing it?
Regards,
Allan