[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: [LI] DNS Setup.
Hi,
PC Quest March 99 issue has an article titled 'Online with Linux' which
shows a setup which kills named and starts named with another
configuration file once you are connected to the net. The article should
be available under Linux at pcquest.com
In that setup /etc/ppp/ip-up.local has entries like
/usr/bin/killall -9 named
/usr/sbin/named /etc/named.conf.online
and /etc/ppp/ip-down.local has lines like
/usr/bin/killall -9 named
/usr/sbin/named /etc/named.conf
The /etc/named.conf.online has the following lines in it which
/etc/named.conf does not have.
zone "." {
type hint;
file "named.ca";
};
Hope you have a named.ca file in /var/named
Abdul
On Sun, 28 Nov 1999, Webmaster : prayagonline.com wrote:
> 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.
>
--------------------------------------------------------------------
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.