Solved

Centos DNS resolving error

Posted on 2011-03-25
3
843 Views
Last Modified: 2012-05-11
Hi Experts,

It's possible I am being a bit blonde here, but I have two questions that I need to resolve (which may be related).
I have had to recreate my DNS Master and I have reloaded Bind and recreated all zones. I have not done this in about 5 years so needed a refresher.
The local terminal reports all Digs are correct and Bind works.
I have a problem logging to the machine with the following error;
It only resolves "https" logins with "IP" address on a webmin interface (https://196.X.X.X:10000)
I need it to resolve to it's hostname and I can't. I have checked all my conf files and they "seem" correct.
If I try to connect to Http:// with the host name it responds with the following
"This Web server is running in SSL mode. Try the URL HTTPS://ns0.hostname.co.za instead."
If I click on the link, as I have stated before, it does not work, but use the Https://IP adress and it connects?
what conf file do I need to edit or what Module do I enable/disable?

Next question:
When I run an NSlookup by hooking up my laptop and giving it a static IP address and the IP of the DNS as the preffered DNS, then I can resolve the hostname only after running a PING -a.
So this is a dilemma I have as well. Do I need the domain authority who we are registered with the public IP address , (in this case .co.za) to publish the hostname in order for NSLOOKUP to find the DNS's hostname not IP address.
I cannot remember if this is correct. If there is a test or check that I  need to run before placing this DNS into the Public Domain please could someone provide me with a step by step guide for ID10Ts?
   
0
Comment
Question by:Stephenvr1
3 Comments
 
LVL 28

Expert Comment

by:Jan Springer
ID: 35218558
Could you post the actual IP and fully qualified domain name?
0
 
LVL 28

Accepted Solution

by:
mikebernhardt earned 125 total points
ID: 35218858
If I understand you correctly, your DNS can't resolve its own host name. You need to set /etc/resolve.conf to point to itself so that applications on the server can resolve IP addresses.

When you make this machine public, you need to update the domain authority with the new hostname and IP address or no one outside will know who to ask for resolution of your domain.
0
 

Author Closing Comment

by:Stephenvr1
ID: 37484854
the path in centos changes and where I had the return resolv.cof was incorrect. Had to hunt in var directory as I am normally use Fedora Red hat. Feeling blonde.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IP Calculator 10 75
Video Streaming 6 75
By pass website on ASA for Websense 4 74
What is doing the required checks on the SPF and DMARC records? 11 28
I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question