Click to See Complete Forum and Search --> : Question about DNS setting I should know :(


Butros
11-29-2000, 03:42 PM
this may seem very elementary but i don't know.

When running "netconfig" and setting up my IP, Sub Mask, Gateway, and DNS. I am just running a small 2 machine network (server, 192.168.1.2 - Workstation 192.168.1.3)

The server has a modem which I am sharing with the workstation. server is RH 6.2 and workstation is combo win98/rh6.2.

Should I just put 192.168.1.2 in for DNS or should I put my ISP's DNS in there... note: I am not connected 24/7 to the net.

Thanks,
Butros

------------------
Error: Keyboard not attached. Press F1 to continue.

Shad
11-29-2000, 03:55 PM
ISP

------------------
Just a Tuna in the Sea of Life

CR2
11-29-2000, 03:55 PM
I think you should put your ISP's DNS. The workstation will use your server connection and it's ip to resolve addresses using your ISP's DNS. This should work nice. at least it does for me.

Butros
11-29-2000, 05:00 PM
OK, that is what I thought, but I was using 192.168.1.2 because I was hoping to eventually make it a caching DNS server... But I am now giving up on that.

Thanks all http://www.linuxnewbie.org/ubb/smile.gif

------------------
Error: Keyboard not attached. Press F1 to continue.

yvrich
11-30-2000, 12:45 PM
[roots around for half-remembered information] Ah, I thought so....

You can have more than one IP address for DNS servers listed in your /etc/resolv.conf file. I believe the first one listed is the default, but I could be wrong.

So, you should be able to include your own machine's IP address on the list, as the default, so it will go there first to resolve any DNS queries. Then if that fails, it will go to your ISP's DNS server for anything your machine doesn't know.

Check out the PPP HOW-TO. Section 13 is the relevant bit.
http://www.linuxdoc.org/HOWTO/PPP-HOWTO/index.html