lame dns servers etc and general dns issues
Hi there,
I'm very new to Linux and I'm trying to setup my own little server here, although I've run into a few issues, any help would be greatly appreciated. I'll try to give as many details as possible, I've only been using linux for three days now, so bear with me :) I went to (dnsreport.com) and this is what I get for my dns report: (dnsreport.com/tools/dnsreport.ch?domain=phil-keaggy.com) I'm confused about the lame nameservers, and how it it can't read my SOA record. My soa record for the domain: phil-keaggy.com is located at: /var/lib/named/master and is named phil-keaggy.com here is what it says: $TTL 2D @ IN SOA ns1.phil-keaggy.com webmaster.mediareaction.com. ( 2004053111 ; serial 1H ; refresh 1H ; retry 1W ; expiry 1D ) ; minimum (phil-keaggy.com) IN NS ns1.phil-keaggy.com (phil-keaggy.com) IN NS ns2.phil-keaggy.com (phil-keaggy.com) IN A 24.80.196.184 (phil-keaggy.com) IN CNAME (phil-keaggy.com) ftp.phil-keaggy.com IN CNAME (phil-keaggy.com) (phil-keaggy.com) IN MX 10 (phil-keaggy.com) I used Yast to generate this file, I think it's okay, but I guess it's not getting read. I'm running Apache 1.3.31 When I go to my nameservers in my browser they work, but I guess they are lame :P As you can imagine I'm slightly lost, if anyone could help me out that would be great!, thanks :) PS - Ignore the brackets around my domains, it wouldn't let me post a roper URL. |
Re: lame dns servers etc and general dns issues
Hiya,
You need to add entries for "ns1.phil-keaggy.com" and "ns2.phil-keaggy.com". To explain: in the config, you've got specified that ns1.phil-keaggy.com and ns2.phil-keaggy.com are your name servers for your domain by saying: Quote:
Try using the following as your config file: Quote:
You can use the "host" and "dig" programs in the console to find out more about the set up of your domains. Type: host ftp.phil-keaggy.com to get the IP address, or dig phil-keaggy.com to get lots of info about it. Hope this helps. |
Hey thanks alot :) I thought I was a lost cause there :) Everything is cool now, excpet one small thing but I don't think it will take long to figure it out.
Here is my zone file now: $TTL 2D @ IN SOA ns1.phil-keaggy.com. webmaster.mediareaction.com. ( 2004053111 ; serial 1H ; refresh 1H ; retry 1W ; expiry 1D ) ; minimum @ IN NS ns1.phil-keaggy.com. @ IN NS ns2.phil-keaggy.com. @ IN A 24.80.196.184 @ IN MX 10 phil-keaggy.com. ns1 IN A 24.80.196.184 ns2 IN A 24.80.196.184 www IN CNAME phil-keaggy.com. ftp IN CNAME phil-keaggy.com. My only issue is now, phil-keaggy.com will come up, but www.phil-keaggy.com will not. Do I need to restart apache? I restarted bind but it still won't come up. I added www IN CNAME phil-keaggy.com. to my named file but I guess it didn't work. Thanks again for the help :D update: I can't fnd the page if I try ftp.phil-keaggy.com or ftp://phil-keaggy.com either but I do get info if I use dig @ftp.phil-keaggy.com Although if I use dig @www.phil-keaggy.com it can't find anything. update again: I added phil-keaggy.com. IN A www.phil-keaggy.com. and that seemed to fix it :) |
help again :P
Alright I had another issue, but basically my question is, does this zone file look okay:
$TTL 2D @ IN SOA ns1.phil-keaggy.com. webmaster.mediareaction.com. ( 2004053111 ; serial 1H ; refresh 1H ; retry 1W ; expiry 1D ) ; minimum @ IN NS ns1.phil-keaggy.com. @ IN NS ns2.phil-keaggy.com. @ IN A 24.80.196.184 @ IN MX 10 phil-keaggy.com. ns1 IN A 24.80.196.184 ns2 IN A 24.80.196.184 www IN CNAME phil-keaggy.com. ftp IN CNAME phil-keaggy.com. will this give me http://phil-keaggy.com and www.phil-keaggy.com? thanks :) |
All times are GMT -5. The time now is 07:22 PM. |