LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-14-2003, 08:42 AM   #1
jaguarr
LQ Newbie
 
Registered: Apr 2003
Posts: 4

Rep: Reputation: 0
Unhappy 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.

Last edited by jaguarr; 04-14-2003 at 08:55 AM.
 
Old 04-14-2003, 09:37 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,533

Rep: Reputation: 148Reputation: 148
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.
 
Old 04-14-2003, 10:01 AM   #3
jaguarr
LQ Newbie
 
Registered: Apr 2003
Posts: 4

Original Poster
Rep: Reputation: 0
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?
 
Old 04-14-2003, 12:15 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,533

Rep: Reputation: 148Reputation: 148
It shouldn't. The result I get from dig doesn't look good. Could you copy jaguarr.com.zone as it looks now?
 
Old 04-14-2003, 12:25 PM   #5
jaguarr
LQ Newbie
 
Registered: Apr 2003
Posts: 4

Original Poster
Rep: Reputation: 0
$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
 
Old 04-14-2003, 12:45 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,533

Rep: Reputation: 148Reputation: 148
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.
 
Old 04-14-2003, 02:29 PM   #7
jaguarr
LQ Newbie
 
Registered: Apr 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Mara, it's still not working
 
Old 04-15-2003, 06:30 AM   #8
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,533

Rep: Reputation: 148Reputation: 148
I sent you a file, check if it works.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic IP, Bind9, Subdomain Question skorpi0wn Linux - Networking 1 06-04-2009 01:22 PM
Redhat 9.0/Windows and DDNS - no update in Bind9 mule Linux - Networking 4 04-03-2006 08:52 AM
i have 2 question in Linux RedHat Enterprist As ninetea Linux - Enterprise 4 02-28-2005 04:47 AM
Suse Linux 9.1 Pro BIND9/DNS server vbat Linux - Newbie 0 10-01-2004 07:20 PM
quick BIND9 zonefile question ocularbob Linux - Networking 4 09-29-2003 02:31 PM


All times are GMT -5. The time now is 01:44 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration