LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-11-2001, 10:19 PM   #1
katana
Member
 
Registered: Jun 2001
Posts: 100

Rep: Reputation: 15

this is one nutty professor alright...
well, my lecturer had asked me tu put aside the partition job for a while and take a stab at building a dns server..(mcleodnine..maybe i should just take option no. 1,what do you say?)..anyway,i've read quite a lot on the subject and have done some experimenting on my own..but it just wouldnt work!! For those who want to help out a 'damsel in distress' here, here's what i've been working on:

my comp is bonggo (bonggo.kym.edu.my)...we've got a dns server at kym.edu.my (202.188.253.2)..my prof wants me to build my dns server in bonggo called internal.kym.edu.my, which is supposed to take care of internal dns (?)...

anybody?
 
Old 06-11-2001, 11:05 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Quote:
Originally posted by katana
this is one nutty professor alright...
well, my lecturer had asked me tu put aside the partition job for a while and take a stab at building a dns server..(mcleodnine..maybe i should just take option no. 1,what do you say?)..anyway,i've read quite a lot on the subject and have done some experimenting on my own..but it just wouldnt work!! For those who want to help out a 'damsel in distress' here, here's what i've been working on:

my comp is bonggo (bonggo.kym.edu.my)...we've got a dns server at kym.edu.my (202.188.253.2)..my prof wants me to build my dns server in bonggo called internal.kym.edu.my, which is supposed to take care of internal dns (?)...

anybody?
First the paranoid side of me (that would be the outside) I would recommend that U stop throwing around real IPs and domain names.

Mmmmkayyy. I trust you're using bind8.2.3 at least.

You want YOUR server be be authoritative for your zone, which will be 'internal.xxx.edu.xx' so you need to build a zone in your named.conf. Then you'll need to build the zone data.

The 'zone' entry in named should look like this. (Not Literally!!!)
Code:
zone "internal.xxx.edu.xx" IN {	
	type master;
	file "db.internal" ;# This is the file name for your zone data file you will build
};
Some hints:
[list=a][*]are you 'registering' as a name server with your parent nameserver?[*]how many name servers are you building?[*]what is the scope of the network you will be authoritative for?

You'll need to answer these questions b4 you can begin.

The admin has put links up in the last week to the O'Reilly press book 'DNS and BIND' by Ablitz and Liu. I *** highly *** advise you to make use of it. Do a search on this site.

It's kinda like Myst, but without all the eye candy.
 
Old 06-12-2001, 03:50 AM   #3
katana
Member
 
Registered: Jun 2001
Posts: 100

Original Poster
Rep: Reputation: 15
thanks a lot!! DNS and BIND is really a big help...now my dns server is up and running,in a sense that it could answer queries and all...but then when i checked the var/log/messages, there were tons of error messages there!!
I noticed a lot of this message:

named.local:1: database naming error
named.local:2: Database error ()
AND
mail name "root.example.edu.example. (.0.0.127.in-addr.arpa"
(owner "0.0.127.in-addr.arpa") IN (primary) is invalid-rejecting...

help!
 
Old 06-12-2001, 11:22 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Quote:
Originally posted by katana
tbut then when i checked the var/log/messages, there were tons of error messages there!!
I noticed a lot of this message:

named.local:1: database naming error
named.local:2: Database error ()
AND
mail name "root.example.edu.example. (.0.0.127.in-addr.arpa"
(owner "0.0.127.in-addr.arpa") IN (primary) is invalid-rejecting...

help!
Check your DB files for a missing trailing . - its sooo easy to miss out. Either that or it might not like you using a .example ending to your domain.

Just a guess

Jamie...
 
Old 06-12-2001, 12:57 PM   #5
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Quote:
Originally posted by katana
thanks a lot!! DNS and BIND is really a big help...now my dns server is up and running,in a sense that it could answer queries and all...but then when i checked the var/log/messages, there were tons of error messages there!!
I noticed a lot of this message:

named.local:1: database naming error
named.local:2: Database error ()
AND
mail name "root.example.edu.example. (.0.0.127.in-addr.arpa"
(owner "0.0.127.in-addr.arpa") IN (primary) is invalid-rejecting...

help!

Leading dot "." at in-addr.arpa should be (0.0.127.in-addr.arpa"
 
Old 06-13-2001, 02:37 AM   #6
katana
Member
 
Registered: Jun 2001
Posts: 100

Original Poster
Rep: Reputation: 15
[/B][/QUOTE]


Leading dot "." at in-addr.arpa should be (0.0.127.in-addr.arpa" [/B][/QUOTE]

I'm sorry, but i dont quite know what you mean? Anyway, i've checked all my db files and my named.conf...i've never put in a dot before 0.0.127.in-addr.arpa like the message pointed out,but of course,what do i know.Can you explain?
btw..what does this kind of error messages mean?:

master zone "0.0.127.in-addr.arpa" (IN) rejected due to errors (serial 0)
AND
Zone "1.100.10.in-addr.arpa" (file internal.rev): no SOA RR found

....i'm at my wits' end here..
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Up DNS Server steve007 Linux - Newbie 4 07-20-2005 03:55 AM
setting up dns server logicdisaster Linux - Software 2 01-06-2005 04:02 PM
setting up dns server suprtiger Linux - Networking 2 10-24-2003 04:18 AM
setting up a DNS server dellcom1800 Linux - Networking 2 05-21-2003 09:43 AM
Setting up a DNS Server ChrisDickson Linux - Networking 3 11-12-2001 05:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:25 AM.

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