Static DNS

Home Forums MultiConnect OCG Static DNS

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #10193
    Allan Brun
    Participant

    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

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.