Re: DNS problem

kaktus <[email protected]>
Newsgroups gmane.linux.redhat.release.seawolf
Organization kaktusland.com
Message-ID <[email protected]>
to see if named pack is installed, do:

[root@server home]# rpm -qa | grep bind

bindconf-1.4-1 (not necessary needed)

bind-9.2.1-0.71.1

bind-utils-9.2.1-0.71.1

if you don't got them, you need to install them

by default, named is listening on all addresses

start named with command:

[root@server home]# /etc/rc.d/init.d/named start

to see if you've running named processes, do:

[root@server home]# ps -ef | grep named

named 25446 1 0 19:16 ? 00:00:00 named -u named

named 25448 25446 0 19:16 ? 00:00:00 named -u named

named 25449 25448 0 19:16 ? 00:00:00 named -u named

named 25450 25448 0 19:16 ? 00:00:00 named -u named

named 25451 25448 0 19:16 ? 00:00:00 named -u named

root 27282 24938 0 20:36 pts/1 00:00:00 grep named

check if it's working:

[root@server home]# nslookup www.yahoo.com

Note: nslookup is deprecated and may be removed from future releases.

Consider using the `dig' or `host' programs instead. Run nslookup with

the `-sil[ent]' option to prevent this message from appearing.

Server: 192.168.x.y

Address: 192.168.x.y#53

Non-authoritative answer:

www.yahoo.com canonical name = www.yahoo.akadns.net .

Name: www.yahoo.akadns.net

Address: 216.109.125.64

....

....

nitin bhurtha wrote:

Thanks , I will add the IP addresses of nameservers.

But I can no longer see the 'named' process on my Linux gateway. I
do not know why it has disappeared. How can I re-install it?

>From: kaktus >Reply-To:
[email protected] >To: [email protected] >Subject:
Re: DNS problem >Date: Wed, 19 Feb 2003 20:01:06 +0100 >
>try a resolv.conf this way: > ># The IP address name daemon
is listening >nameserver 192.168.x.y ># The IP addresses of you
ISP's DNS >nameserver DNS1 >nameserver DNS2 ># If you got a
local domain add >search your.local.domain > > >
>restart your named process > > >nitin bhurtha wrote:
> >>In /etc/resolv.conf, I have below 2 lines: >>
>>search redhat.com >> >>nameserver 192.168.5.1
>> >> >>What IP address should I add to make it work?
Plese advise. >> >> >From: Ian Firla >Reply-To:
[email protected] >To: >>[email protected]
>Subject: Re: DNS problem >Date: Mon, 17 >>Feb 2003
07:19:06 -0500 (EST) > > >What do you have in
>>/etc/resolv.conf > >You can try putting in other public
dns servers >>if the ones you have now >aren't working. >
>Ian > >------------ >> >Dr Ian Firla >Robert
Graves Trust > >On Mon, 17 Feb 2003, nitin >>bhurtha
wrote: > > > I am getting below error message when I am
>>trying to access any web page > > from a PC on LAN through
Red Hat >>7.1 Linux gateway: > > Requested URL could not
be retrieved. Unable >>to determine IP address from > >
host name for www.yahoo.com . The >>dnsserver returned: No DNS
records. This > > means that the cache >>was not able to
resolve the hostname presented in > > URL'.' > > >
>> > Please advise if I have missed anything while configuring
the >>Linux > > gateway.

----------
MSN 8 helps ELIMINATE
E-MAIL VIRUSES. Get 2 months
FREE*._______________________________________________ Seawolf-list
mailing list [email protected]
https://listman.redhat.com/mailman/listinfo/seawolf-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.