How to add DNS on mlinux
- This topic has 2 replies, 2 voices, and was last updated 7 years, 8 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › Conduit: mLinux Model › How to add DNS on mlinux
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.
Milan,
Check out these topics:
There’s a few ways to address DNS in mLinux.
Jeff
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.