1748269 Members
3571 Online
108760 Solutions
New Discussion юеВ

Re: dns on redhat 7.3

 
Kirk Moudy
Occasional Advisor

dns on redhat 7.3

I have been trying to get dns set up correctly on my server. I can get to www.domain.net, but can not get to domain.net.

If anyone can get my head above water on this it would be great.

I have tryed using the DNS how to link that i found on another post here, but was unable to get things working.

Thanks,
Kirk
13 REPLIES 13
Stuart Browne
Honored Contributor

Re: dns on redhat 7.3

Assuming you've set everything up right, all you need is an entry like:

@ IN A in the zone file (somewhere).
One long-haired git at your service...
Chris Slater
New Member

Re: dns on redhat 7.3

domain.net is just your domain, so no machine resides there.

You're saying that you can get to www.domain.net. Does that mean you can ping it, get to it with your web browser or what?

As long as you are able to successfully do nslookup commands you are configured fine. Try doing nslookup www.domain.net - that should work it seems.

Then try nslookup www.hp.com and see if that also works. If so then I would say your dns is working fine.

HTH,

Chris
Stuart Browne
Honored Contributor

Re: dns on redhat 7.3

Chris, he's stated that he can get to 'www.domain.net'. THere's nothing against being able to browse to 'domain.net' either (nslookup hp.com).

It's a matter of preference.
One long-haired git at your service...
Marco Paganini
Respected Contributor

Re: dns on redhat 7.3

Hello Kirk,

I suppose you're setting up a "dummy" domain for testing purposes only. This domain will only be accessible from your own machine (since on the internet it probably points to somewhere else).

First, we need to see a few of your configuration files:

- /etc/resolv.conf
- /etc/named.conf
- all files under /var/named

Once we have that, it should be very easy to spot the problem.

Regards,
Paga
Keeping alive, until I die.
Kirk Moudy
Occasional Advisor

Re: dns on redhat 7.3

Here are the files, this will hopefully be a real "working" domain one day. LOL


Thanks a ton guys
Kirk Moudy
Occasional Advisor

Re: dns on redhat 7.3

localhost.zone
Kirk Moudy
Occasional Advisor

Re: dns on redhat 7.3

resolv.conf
Kirk Moudy
Occasional Advisor

Re: dns on redhat 7.3

NexxtGeneration.org
Kirk Moudy
Occasional Advisor

Re: dns on redhat 7.3

NexxtGeneration.net