Solved

Centos DNS resolving error

Posted on 2011-03-25
3
848 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 29

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

Turn Insights into Action

Communication across every corner of your business is essential to increase the velocity of your application delivery and support pipeline. Automate, standardize, and contextualize your communication processes with xMatters.

Question has a verified solution.

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

Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
Resolve DNS query failed errors for Exchange
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

691 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