Configuring DNS on Linux (/etc/resolv.conf)

Writing by on Tuesday, 9 of August , 2011 at 9:52 pm

A complete tutorial can be found on LinuxHomeNetworking
A quick fix that could work for you is to simply add the DNS Server to /etc/resolv.conf

vi /etc/resolv.conf

search google.com
nameserver 192.168.10.9
nameserver 192.168.10.58
nameserver 192.168.10.114

This is just an example, you need to know your DNS server(s)

Leave a comment

Category: Linux

No Comments

No comments yet.

Leave a comment

You must be logged in to post a comment.

Shivdev Kalambi's Blog

Shivdev Kalambi is a Software Development Manager, previously a Principal Software Engineer at ArcSight/HP. With over 16 years' experience in software development, he's worked on several technologies and played different roles and contributed to all phases of projects. Non-tech activies include Ping-pong, Rock Climbing and Yoga at PG, Golf, Skiing, Swimming & a beer enthusiast.