LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-2004, 06:44 AM   #1
j33px0r
LQ Newbie
 
Registered: Apr 2004
Posts: 10

Rep: Reputation: 0
Question Public DNS Server - Zone Transfer - granitecanyon.com


Hello Everyone!

Here's the situation: I registered a new domain name with godaddy.com only to learn they do not provide a dns server (knew there'd be a catch for 7 bucks). Since i'm in no hurry, i decided to try a free public dns before building up my own dns server to see whats up with it. I'm going with granitecanyon.com since they do not have the 5 domain limit of zoneedit. I'm having difficulties with the Zone File. I've been searching for a decent tutorial on them for a few days but am only finding the very basics. And of course the soa.help news group isn't working either.


Below is the post for granitecanyon.com:
(SOA portion is in a differant section of their online form)

#error message results if i only put 2 DNS servers or exclude ; EXTREF
mydomain.com. IN NS ns1.granitecanyon.com. ; EXTREF
mydomain.com. IN NS ns2.granitecanyon.com. ; EXTREF
mydomain.com. IN NS ns3.granitecanyon.com. ; EXTREF

#Responsible person - hmm...not sure if i qualify for that yet
mydomain.com. IN RP MyName.mydomain.com. mydomain.com.

#my ip. sort of.
mydomain.com. IN A 66.77.88.188

#receive error without the localhost
localhost.mydomain.com. IN A 127.0.0.1

#some CNAME for the fun of it. Don't see it being necessary
www.mydomain.com. IN CNAME mydomain.com.
ftp.mydomain.com. IN CNAME mydomain.com.

#for my mail apparently
mydomain.com. IN MX 10 mail.mydomain.com.


----------------------------
Here's My error messages:
----------------------------

Go back and fix these errors:

nslint: missing "ptr": localhost.mydomain.com. -> 127.0.0.1
nslint: missing "ptr": mydomain.com. -> 66.77.88.188

-----------------------------
So there you have it.

I've tried including a reverse-entry

188.88.77.66.in-addr.arpa. IN PTR mydomain.com.
1.0.0.127.in-addr-arpa. IN PTR localhost.mydomain.com.

but it gives an additional error message.


Additional Info: I host 6 other domains on my server but had always registered with register.com hence no need for the DNS server

I have 2 current suspicions regarding my troubles:

1. Missing a reverse-dns entry
2. Problems with other domain name sharing IP
3. I'm a dumbA$$ (oh, that makes 3)

Any thoughts on how i might resolve this problem? I have 5 static IP's and am planning on building my own primary and secondary DNS servers in awhile but would rather get this figured out first.

Thanks in Advance!
 
Old 04-14-2004, 07:52 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
i have fedora 1. i use this computer for tests. i have a nameserver to test qmail. here is my named config files:
@ means the name that given in named.conf. in my named.conf it is maxut.com

[root@linux chroot]# cat /var/named/chroot/maxut.com.zone
$TTL 86400
$ORIGIN @
@ 1D IN SOA @ maxut.com. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

1D IN NS @
1D IN A 192.168.0.249
@ 1D IN MX 10 mail
mail IN CNAME @
www IN CNAME @

[root@linux chroot]# cat /var/named/chroot/0.168.192.zone
$TTL 86400
@ IN SOA maxut.com. dnsadmin.maxut.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS maxut.com.

249 IN PTR maxut.com.

[root@linux chroot]# cat /var/named/chroot/etc/named.conf
zone "maxut.com" IN {
type master;
file "maxut.com.zone";
allow-update { none; };
};

zone "0.168.192.in-addr.arpa" IN {
type master;
file "0.168.192.zone";
allow-update { none; };
};

i hope these helps u.
 
Old 04-14-2004, 09:26 AM   #3
j33px0r
LQ Newbie
 
Registered: Apr 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for the post. I finally got it to work by adding:

1.0.0.127 IN PTR localhost.geeknout.com.

and

my.ip.backwards IN PTR mydomain.com.

I could swear that i did that at least 30 times in the last 2 days but i must have been typing an error.


Thanks for the help!
 
  


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
DNS secondary zone transfer problems jc materi Linux - Networking 5 04-04-2007 12:19 PM
Cache DNS server and zone file DanielTan Linux - Networking 7 09-26-2005 11:00 AM
DNS Windows To Linux Zone Transfer? rootking Linux - Networking 2 09-13-2004 01:29 AM
Create zone files by querying dns server kloppster Linux - Software 1 08-19-2004 05:03 PM
DNS - Manual zone transfer roboli Linux - Networking 0 02-27-2002 08:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:53 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration