DNS resolv
problems, I noticed that few threads with such queries are answered but here we go - I have setup a linux box rh7.0 and have setup the DNS portion with all aliases, ftp, www, etc.
I am running a webserver on the same box (Apache). I can access the html test page via ns1.myserver.net, yet when I try the www.myserver.net - I get "This page cannot by displayed" I have set my Apache httpd.conf servername as www.myserver.net. can anyone please enlighten this Mexicon. thanks, :Pengy: btw - new to linux - yet, looks very promising. |
Do you have an A record for www.myserver.net in your myserver.net zone file? Did you use the $ORIGIN shortcut or did you use the whole name www.myserver.net. ? Did you forget the trailing dot?
When you start or restart named what do you see in the log files? If you see somthing like www.mydomain.net.mydomain.net then you've missed the last 'dot' in your A record. You can also try 'dig' (man dig for more options) |
I do have an A record for www.myserver.net.
I was missing some dots in my zone files, earlier. (before the posting of my thread) I did have the $ORIGIN at the top of the zone file along with a $TTL 86400 in the first line. (do I need to have these?) :confused: I downloaded a trial version of a DNS analyzer software which returns a: Authorative Answer:NO when I run a check for the SOA Record, yikes!!! and a "lame delegation" once I run a Zone Analyzer. Help, I believe I am drowning in ignorance....... Once again, confused Mexicon |
Is the A record correct? (does it point to the right IP addr?)
Are there any other name servers on your network? The zone file (for each one listed /etc/named.conf) should start out with something like Code:
@ IN SOA ns1.mydomain.net. hostmaster.ns1.mydomain.net. <serial and ttl info...> have a look in the logs. To see the last 100 log entries you can use Code:
tail -100 /var/log/messages |
I have the ip addr correct;
the first line in the mydomain.net zone file is @ IN SOA ns1.mydomain.net. hostmaster.ns1.mydomain.net. ( but, after running the code you asked me to for the last 100 lines of log everything looks okay, except for this line No Default TTL set using SOA minimum instead :confused: I know I am close but, just not there. btw - thanks for you help. |
Quote:
Code:
<date> <time> <hostname> named <pid>:starting. named 8.2.3-T5B Wed Sep 20 18:10:28 GMT 2000 Now for the clients. How do they know where the name server is? DHCP? Manual setup? Are they using the name server you have just setup or a different name server? After cheking that, you need to go through your /etc/httpd/httpd.conf file and see that all is happy there. |
The log file returned the information that you described, except for the on comment, which I mentioned before.
I believe my named.conf file is correct. I have zones for zone "." zone "localhost" zone "mydomain.net" zone "0.0.127" reverse localhost zone "10.168.192" reverse mydomain.net I will check my httpd.conf file - the correct setting for my server is www.cielp.net, right? thanks |
All times are GMT -5. The time now is 10:54 PM. |