Results 1 to 2 of 2
I've recently run into problems with DNS on my web server. It is a dedicated server with full access running Fedora Core 5 with CPanel and WHM. Anyway, I started ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-22-2006 #1
- Join Date
- Oct 2006
After trying to refresh the license key, I found out to my dismay that my server could not look up ANY external domains.
My resolv.conf looks like this:
I modified that from this, which was generated by dhclient-script but I believe to be wrong:
; generated by /sbin/dhclient-script
Using the latter, dig/nslookup times out, though using the former I get a response albeit nothing in the "reply" section.
A sample for dig www.msn.com is as follows:
root@layla [/]# dig www.msn.com
; <<>> DiG 9.3.1 <<>> www.msn.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54372
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 0
;; QUESTION SECTION:
;www.msn.com. IN A
;; AUTHORITY SECTION:
. 3600000 IN NS A.ROOT-SERVERS.NET.
. 3600000 IN NS B.ROOT-SERVERS.NET.
. 3600000 IN NS C.ROOT-SERVERS.NET.
. 3600000 IN NS D.ROOT-SERVERS.NET.
. 3600000 IN NS E.ROOT-SERVERS.NET.
. 3600000 IN NS F.ROOT-SERVERS.NET.
. 3600000 IN NS G.ROOT-SERVERS.NET.
. 3600000 IN NS H.ROOT-SERVERS.NET.
. 3600000 IN NS I.ROOT-SERVERS.NET.
. 3600000 IN NS J.ROOT-SERVERS.NET.
. 3600000 IN NS K.ROOT-SERVERS.NET.
. 3600000 IN NS L.ROOT-SERVERS.NET.
. 3600000 IN NS M.ROOT-SERVERS.NET.
;; Query time: 1 msec
;; SERVER: 22.214.171.124#53(126.96.36.199)
;; WHEN: Sun Oct 22 21:26:02 2006
;; MSG SIZE rcvd: 240
I'm at a real loss as to what went wrong and why seeing as though the server has been largely happily chugging along for months without a problem. Obviously something has gone astray but I don't know what.
Any ideas would be more than appreciated.
- 10-27-2006 #2
- Join Date
- Oct 2006
it looks like you don't have any "a records" setup in your dns settings. log into your WHM and see if you can find the DNS settings to create some A-Records. I've forgotten how to do this in cpanel as I haven't used it in a few years but I am pretty sure you can do it from WHM.