question about redhat linux 8 with bind9
Right now my problem is that people can access my site through my static ip: 128.211.221.225 but not my registered domain name: jaguarr.com
At my registrar company, buydomains.com, I created 2 nameservers. host name for the first one is ns1.jaguarr.com with ip as my static ip (128.211.221.225); host name for the second one is ns2.jaguarr.com with the same ip. I've done some configurations and read so many tutorials but it is still not working. (very frustrating) I am using redhat linux 8.0, bind 9 and below is my named.conf and jaguarr.com.zone files. Could anyone please tell me what I am doing wrong? /etc/named.conf Quote:
Quote:
|
I think you should be able to access your machine using ns1.jaguarr.com (I can do it, it works correctly). Now you need to add a line to allow you to access jaguarr.com. I think that you can do it this way:
jaguarr.com. CNAME ns1.jaguarr.com There are many possibilities, you can also use jaguarr.com instead of ns1.jaguarr.com in the first line, too. |
Mara. thanks for replying.
I didn't know ns1.jaguarr.com work. I think I tried typing that last night and it wasn't working. I have just replaced ns1.jaguarr.com with jaguarr.com in the first line. Does it take a few hours for it to take effect because I can't access neither ns1.jaguarr.com nor jaguarr.com now? |
It shouldn't. The result I get from dig doesn't look good. Could you copy jaguarr.com.zone as it looks now?
|
$TTL 86400
@ IN SOA jaguarr.com. admin.jaguarr.com ( 7 ; serial 28800 ; refresh 7200 ; retry 604800 ; expire 86400 ; ttl ) ns1 IN NS 128.211.221.225 ns2 IN NS 128.211.221.225 @ IN NS ns1.jaguarr.com @ IN A 128.211.221.225 |
My suggestion:
$TTL 86400 @ IN SOA jaguarr.com. admin.jaguarr.com ( 7 ; serial 28800 ; refresh 7200 ; retry 604800 ; expire 86400 ; ttl ) ; NS ns1 NS ns2 ; jaguarr.com. A 213.25.58.182 ns1 CNAME jaguarr.com. ns2 CNAME jaguarr.com. |
Mara, it's still not working:confused:
|
I sent you a file, check if it works.
|
All times are GMT -5. The time now is 04:20 PM. |