The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 is all this really necessary?
Author: freebsd-lost 
Date:   30-12-02 00:26

Do I have to go through all of this simply to resolve names? like ping google.com?

ack
I'm going back to linux

Reply To This Message
 
 Re: is all this really necessary?
Author: Rob McLeod 
Date:   30-12-02 00:40

I'm not sure what you are referring to when you say "all of this", but all you need to do to resolve hostnames is enter your ISP's DNS servers into /etc/resolv.conf . It's been a while since I used Linux, but I believe you do the exact same to get DNS working.
Here's an /etc/resolv.conf file for reference:

search mydomain.org
nameserver 24.xxx.xxx.xxx
nameserver 24.xxx.xxx.xxx

The first nameserver is my ISP's first nameserver and the second one is the alternate nameserver.

If you don't have access to an upstream DNS server, then you will need to run your own DNS, but this is almost never the case.

Keep trying with FreeBSD!
Robbie McLeod

Reply To This Message
 
 Re: is all this really necessary?
Author: lil_pup 
Date:   31-12-02 15:05

or you could do this

nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
options timeout:1

i have my timeout at 2 but thats cause im special
lil_pup

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org