[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: resolv.conf



> >Ah. That's not what you want to do then.
> >
> >If you want it to USE itself as a nameserver before going to 
> other name
> >servers, you want:
> >
> >domain netpacq.net
> >search netpacq.net
> >nameserver 127.0.0.1
> >nameserver 208.239.156.6   (presuming this is another 
> nameserver elsewhere)
> 208.239.156.6 is the local machine, so 127.0.0.1 would be 
> redundant right!?.

Yes, however putting 127.0.0.1 instead of 208.239.156.6 might be slightly
more efficient. 

(Depends on if the kernel short circuits loopback interfaces more
efficiently or not. I don't know if it does.) 

More importantly though, it's one less thing you'd have to worry about if
you ever change the machine's IP address. (Maybe not a big deal with one
machine, but when you get into multiple machines that you maintain, it
starts to be a big deal.)

-- Nathan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]