where to add DNS address?

Asked by Mike Wilson

After reading the man page it still isn't clear to me how one uses resolvconf to feed a specific DNS address to browsers, mailers, etc.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
Reinhard Tartler (siretart) said :
#1

You can add IP<->hostname mappings to your system locally with listing them to your /etc/hosts file.
Your webbrowser will take that file in preference to the data distributed via the DNS.

Revision history for this message
Mike Wilson (wilsonmr) said :
#2

Sorry: I wasn't clear. My Ubuntu box shares a satellite ISP by way of someone else's Windows 2000 box plus a router, so fails to find a valid DNS# at start-up (it finds the router's IP# instead) and forces me to type a DNS# in. That works, but it's a pain. I hoped to use resolvconf to override the non-working resolv.conf file that is generated at each start-up -- and overwrites my typed-in DNS#.

Revision history for this message
Mike Wilson (wilsonmr) said :
#3

Since resolvconf was installed the problem I had with getting a working DNS for my system has vanished ... without any added action on my part. Wish I could be sure how that happened.