LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   question about redhat linux 8 with bind9 (https://www.linuxquestions.org/questions/linux-networking-3/question-about-redhat-linux-8-with-bind9-54988/)

jaguarr 04-14-2003 08:42 AM

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:

## named.conf - configuration for bind
#
# Generated automatically by redhat-config-bind, alchemist et al.
# Any changes not supported by redhat-config-bind should be put
# in /etc/named.custom
#
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

include "/etc/named.custom";

include "/etc/rndc.key";

options {
directory "/var/named/";
};

zone "0.0.127.in-addr.arpa" {
type master;
file "0.0.127.in-addr.arpa.zone";
};

zone "localhost" {
type master;
file "localhost.zone";
};
zone "jaguarr.com" {
type master;
file "jaguarr.com.zone";
};

/var/named/jaguarr.com.zone
Quote:

$TTL 86400
@ IN SOA ns1.jaguarr.com. admin.jaguarr.com (
5 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)


ns1 IN NS 128.211.221.225
@ IN NS ns1.jaguarr.com
ns2 IN NS 128.211.221.225


@ IN A 128.211.221.225

Thank you for your time.

Mara 04-14-2003 09:37 AM

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.

jaguarr 04-14-2003 10:01 AM

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?

Mara 04-14-2003 12:15 PM

It shouldn't. The result I get from dig doesn't look good. Could you copy jaguarr.com.zone as it looks now?

jaguarr 04-14-2003 12:25 PM

$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

Mara 04-14-2003 12:45 PM

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.

jaguarr 04-14-2003 02:29 PM

Mara, it's still not working:confused:

Mara 04-15-2003 06:30 AM

I sent you a file, check if it works.


All times are GMT -5. The time now is 04:20 PM.