How to add DNS on mlinux

Home Forums Conduit: mLinux Model How to add DNS on mlinux

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #20555
    Milan Babic
    Participant

    Hi. I have MTCAP gateway. Linux version: 3.3.9
    How to add DNS record on my gateway?

    I can ping 8.8.8.8 but when I try to ping http://www.google.com I get
    ping: unknown host http://www.google.com

    Thanks.

    #20558
    Jeff Hatch
    Keymaster

    Milan,

    Check out these topics:

    setting static DNS

    mlinux resolv.conf issue

    Static DNS

    There’s a few ways to address DNS in mLinux.

    Jeff

    #20559
    Milan Babic
    Participant

    It works now.Thank you very much.

    I added a command in:

    #Wired interface
    auto eth0

    post-up echo “nameserver 8.8.8.8″ > /etc/resolv.conf

    Is it possible to add more DNS servers in /etc/resolv.conf file on this way?
    How I can use eth0 interface as DHCP client? I tried to use command

    iface eth0 inet dhcp

    but without results.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.