[YLUG] DNS

Dr P Dupre pd520 at york.ac.uk
Sat Feb 9 16:20:22 GMT 2008


Thank.

Now, I have a router 192.168.0.1
I have 2 machines in 192.168.0.100 (machine1) and in .101 (machine2)
The router has the name associated to each one.
On each one, I can make a ping machine1 on machine1
and ping machine2 on machine, but ping machine1 from machine2
does not work (and vice et versa).
I put for the DNS 192.168.0.1

What should I do to have the 2 machines see each other with there name ?

Regards

> On 09/02/2008, Dr P Dupre <pd520 at york.ac.uk> wrote:
>> How can I get the name of the DNS that I am using ?
>> Can I have 2 name servers ? one local and one for the rest.
>
> cat /etc/resolv.conf
>
> Output from `dig` will also show you which one it's querying.
>
> You can have up to three nameservers in /etc/resolv.conf if I recall
> correctly, and you can use 'domain' and 'search' to make querying
> things a little bit faster - less typing, a la:
>
>    domain bytemark.co.uk
>    nameserver 80.68.80.24
>    nameserver 80.68.80.25
>
>    ping cr01.sov
>
>    Rather than:   ping cr01.sov.bytemark.co.uk
>
> Alex
>
> _______________________________________________
> York mailing list
> York at lists.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/york
>

-- 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Patrick Dupré                                             pd520 at york.ac.uk
University of York                                 Department of Chemistry
Heslington, York              YO10 5DD                      United Kingdom
Phone: +44-(0)-1904-434384                        Fax: +44-(0)-1904-432516
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


More information about the York mailing list