[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[LI] DNS Setup.



Hi all !
	I was setting up DNS on my machine running Red Hat Linux 6.0
Actually, i wanted the DNS such that it would lookup and resolve only my
domain name
and resolve any other domains through the internet.
My machine is not always connected to the internet.

But now, after doing this, i am not able to resolve external domains ...
eg ping my_machine works
but not
ping linux.com

Please help me set it up correctly, as it does'nt even send the mails !

THanks a lot !
Regards
Gaurav.

Details of files i edited ...
_________________________________________________

i edited my /etc/named.conf and added:
<snip>
zone "prayagonline.com" {
	type master;
	file "named.prayagonline.com";
	};
</snip>
where prayagonline.com is my machine's domain.
and created the file named.prayagonline.com
reading
<snip>
@       IN      SOA     t.prayagonline.com. hostmaster.prayagonline.com. (
                                      1997022700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
              IN      NS      t
              IN	  MX 10   t

t		IN	A	 192.168.5.3
mtx		IN	A	 192.168.5.4

www		IN	A	CNAME	t
</snip>
and finally my resolve.conf reads
search prayagonline.com
nameserver 192.168.5.3

Please Help 1

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.