Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DNS Server

0 views
Skip to first unread message

Andy Pieters

unread,
Oct 11, 2005, 2:54:33 PM10/11/05
to
Hi list
I once again would like some help. There are tons and tons of materials
regarding bind setup and I would just like one that explains step by step how
to setup a primary name server for a toplevel domain. I would like to have
reverse dns as well as an MX record.

I insist since I cannot aford to make a mistake. Once I change the address of
the nameserver in the registars control panel it must work from the first
time.

If any of you have used such a guide or walktrough and have been successfull
with it, please reply.


With kind regards

Andy

--
Registered Linux User Number 379093
Now listening to [silence]

amaroK::the Coolest Media Player in the known Universe!


Cockroaches and socialites are the only things that can
stay up all night and eat anything.
Herb Caen
--
-- --BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT/O/>E$ d-(---)>+ s:(+)>: a--(-)>? C++++$(+++) UL++++>++++$ P-(+)>++
L+++>++++$ E---(-)@ W+++>+++$ !N@ o? !K? W--(---) !O !M- V-- PS++(+++)
PE--(-) Y+ PGP++(+++) t+(++) 5-- X++ R*(+)@ !tv b-() DI(+) D+(+++) G(+)
e>++++$@ h++(*) r-->++ y--()>++++
-- ---END GEEK CODE BLOCK------
--
Check out these few php utilities that I released
under the GPL2 and that are meant for use with a
php cli binary:

http://www.vlaamse-kern.com/sas/

--


Philip Paeps

unread,
Oct 11, 2005, 3:17:04 PM10/11/05
to
Andy Pieters <x_termi...@yahoo.fr> wrote:
> I once again would like some help. There are tons and tons of materials
> regarding bind setup and I would just like one that explains step by step
> how to setup a primary name server for a toplevel domain. I would like to
> have reverse dns as well as an MX record.

I can recommend Cricket Liu's ``DNS and BIND'' (O'Reilly). In addition to
explaining the things you've listed, it also contains heaps of more advanced
information without becoming overly dense.

- Philip

--
Philip Paeps Please don't email any replies
phi...@paeps.cx I follow the newsgroup.

BOFH Excuse #379:
We've picked COBOL as the language of choice.


cvncpu

unread,
Oct 11, 2005, 3:21:56 PM10/11/05
to
if you think that this is critical to you, and you have never used BIND
before, I suggest you use the free services of http://zoneedit.com and
then learn how to manage your own servers, since It might take 2 or 3
weeks to get really good at managing domains, and zone edit is as
simple as it comes, so maybe you ill just stick with it, not to mention
there uptime record is great!


Andy Pieters

unread,
Oct 11, 2005, 3:40:45 PM10/11/05
to
Hi

>I suggest you use the free services of http://zoneedit.com and
Thank you that is valuable indeed. I can go right and create an account and
do my research in the meantime!

With kind regards


Andy

--
Registered Linux User Number 379093

Now listening to Daan - Housewife - Conversation

Andy Pieters

unread,
Oct 11, 2005, 3:40:00 PM10/11/05
to
Hi

> I can recommend Cricket Liu's ``DNS and BIND'' (O'Reilly). In addition to
> explaining the things you've listed, it also contains heaps of more
> advanced information without becoming overly dense.
>
Thanks I was looking more towards online guides rather then paying ones.
With kind regards


Andy


--
Registered Linux User Number 379093

Now listening to Daan - Housewife - Conversation

amaroK::the Coolest Media Player in the known Universe!

Stephane Bortzmeyer

unread,
Oct 12, 2005, 4:38:20 AM10/12/05
to
On Tue, Oct 11, 2005 at 08:54:33PM +0200,
Andy Pieters <x_termi...@yahoo.fr> wrote
a message of 47 lines which said:

> how to setup a primary name server for a toplevel domain.

You do manage a *toplevel* domain (like ".fr" or ".org")? Are you
sure?


Andy Pieters

unread,
Oct 12, 2005, 5:34:41 AM10/12/05
to
Hi

> You do manage a *toplevel* domain (like ".fr" or ".org")? Are you
> sure?
I am in full control of domain name www.vlaamse-kern.com maybe I misunderstood
the concept of toplevel?
With kind regards

Andy

--
Registered Linux User Number 379093

Now listening to [silence]

Stephane Bortzmeyer

unread,
Oct 12, 2005, 6:00:21 AM10/12/05
to
On Wed, Oct 12, 2005 at 11:34:41AM +0200,
Andy Pieters <x_termi...@yahoo.fr> wrote
a message of 38 lines which said:

> I am in full control of domain name www.vlaamse-kern.com maybe I
> misunderstood the concept of toplevel?

"com" is the top-level domain here (because it is immediately beneath
the root), "vlaamse-kern.com" is a second-level domain and the one you
control (there is probably a mistake here, you probably meaned
"vlaamse-kern.com"), "www.vlaamse-kern.com" is a third-level domain
name.

Andy Pieters

unread,
Oct 12, 2005, 6:45:25 AM10/12/05
to
Hi

> "vlaamse-kern.com"), "www.vlaamse-kern.com" is a third-level domain
> name.
I can type in vlaamse-kern.com or www.vlaamse-kern.com they both point to the
same ip.

Peter Dambier

unread,
Oct 12, 2005, 6:59:11 AM10/12/05
to
Stephane Bortzmeyer wrote:
> On Wed, Oct 12, 2005 at 11:34:41AM +0200,
> Andy Pieters <x_termi...@yahoo.fr> wrote
> a message of 38 lines which said:
>
>
>>I am in full control of domain name www.vlaamse-kern.com maybe I
>>misunderstood the concept of toplevel?
>
>
> "com" is the top-level domain here (because it is immediately beneath
> the root), "vlaamse-kern.com" is a second-level domain and the one you
> control (there is probably a mistake here, you probably meaned
> "vlaamse-kern.com"), "www.vlaamse-kern.com" is a third-level domain
> name.
>
>
>

; <<>> DiG 9.1.3 <<>> -t any vlaamse-kern.com @ns2.numericable.fr.
;; ANSWER SECTION:
vlaamse-kern.com. 900 IN SOA ns1.numericable.fr. root.numericable.fr.\
2004111122 21600 3600 604800 86400
vlaamse-kern.com. 900 IN NS ns1.numericable.fr.
vlaamse-kern.com. 900 IN NS ns2.numericable.fr.
vlaamse-kern.com. 900 IN MX 10 mta.pro.numericable.fr.
vlaamse-kern.com. 900 IN MX 5 mta.vlaamse-kern.com.

;; ADDITIONAL SECTION:
www.vlaamse-kern.com. 900 IN A 81.220.168.250
ns1.numericable.fr. 86400 IN A 80.236.0.242
ns2.numericable.fr. 86400 IN A 81.220.255.2
mta.vlaamse-kern.com. 900 IN A 81.220.168.250
mta.pro.numericable.fr. 900 IN A 80.236.0.232

;; Query time: 109 msec
;; SERVER: 81.220.255.2#53(ns2.numericable.fr.)
;; WHEN: Wed Oct 12 12:18:17 2005


natnum www.vlaamse-kern.com
host_look("81.220.168.250","www.vlaamse-kern.com","1373415674").
host_name("81.220.168.250","ip-250.net-81-220-168.nice.rev.numericable.fr").

natnum mta.vlaamse-kern.com
host_look("81.220.168.250","mta.vlaamse-kern.com","1373415674").
host_name("81.220.168.250","ip-250.net-81-220-168.nice.rev.numericable.fr").

Domain Name: VLAAMSE-KERN.COM
Registrar: REGISTER.COM, INC.
Whois Server: whois.register.com
Referral URL: http://www.register.com
Name Server: NS1.NUMERICABLE.FR
Name Server: NS2.NUMERICABLE.FR
Status: REGISTRAR-LOCK
Updated Date: 09-oct-2005
Creation Date: 25-oct-2004
Expiration Date: 25-oct-2006

I guess here is where the dog has hidden his bone:

Status: REGISTRAR-LOCK

That is why Andy Pieters wants to manage his machine

host_look("81.220.168.250","www.vlaamse-kern.com","1373415674").
host_name("81.220.168.250","ip-250.net-81-220-168.nice.rev.numericable.fr").

and

host_look("81.220.168.250","mta.vlaamse-kern.com","1373415674").
host_name("81.220.168.250","ip-250.net-81-220-168.nice.rev.numericable.fr").

himself by changing from 3rd. level to 2nd. level.


Kind regards,
Peter and Karin Dambier

--
Peter and Karin Dambier
Public-Root
Graeffstrasse 14
D-64646 Heppenheim
+49-6252-671788 (Telekom)
+49-179-108-3978 (O2 Genion)
+49-6252-750308 (VoIP: sipgate.de)
mail: pe...@peter-dambier.de
mail: pe...@echnaton.serveftp.com
http://iason.site.voila.fr
http://www.kokoom.com/iason


Kurt Boyack

unread,
Oct 12, 2005, 10:10:38 AM10/12/05
to
On 10/11/05, Andy Pieters <x_termi...@yahoo.fr> wrote:
> Hi list

> I once again would like some help. There are tons and tons of materials
> regarding bind setup and I would just like one that explains step by step how

> to setup a primary name server for a toplevel domain. I would like to have
> reverse dns as well as an MX record.
>
> I insist since I cannot aford to make a mistake. Once I change the address of
> the nameserver in the registars control panel it must work from the first
> time.
>
> If any of you have used such a guide or walktrough and have been successfull
> with it, please reply.
>

Get yourself a copy of DNS & BIND. It will tell you everything you
want to know and more. What you want to do is not that hard and you
can set up your DNS servers and fully test them before you change the
IP addresses.


Andy Pieters

unread,
Oct 12, 2005, 2:21:40 PM10/12/05
to
Hi
> But now for bind. What do you want bind to do?

I have a Celeron providing resolves for 10 clients on the LAN, mainly because
there seems to be an issue with the nameservers of my isp.

Besides that I would like to have this same Celeron act as primary name server
and the ns1.numericable.fr as secondary nameserver.

I used a template to make the following files

0.0.127.in-addr.arpa.zone
1.1.10.in-addr.arpa.zone
168.220.80.in-addr.arpa.zone
localhost.zone
vlaamse-kern.com.zone
named.local

I can output the contents of those files if you would like to see them.

Now when I start Named it says "[OK]" but it isn't loaded.

Examening the log mentions that it couldn't open its pid file?


With kind regards

Andy

Peter Dambier

unread,
Oct 12, 2005, 3:23:51 PM10/12/05
to
Andy Pieters wrote:
> Hi
>
>>But now for bind. What do you want bind to do?
>
>
> I have a Celeron providing resolves for 10 clients on the LAN, mainly because
> there seems to be an issue with the nameservers of my isp.
>
> Besides that I would like to have this same Celeron act as primary name server
> and the ns1.numericable.fr as secondary nameserver.
>
> I used a template to make the following files
>
> 0.0.127.in-addr.arpa.zone
> 1.1.10.in-addr.arpa.zone
> 168.220.80.in-addr.arpa.zone
> localhost.zone
> vlaamse-kern.com.zone
> named.local
>
> I can output the contents of those files if you would like to see them.
>
> Now when I start Named it says "[OK]" but it isn't loaded.
>
> Examening the log mentions that it couldn't open its pid file?
>
>
> With kind regards
>
>
>
> Andy
>

Hi Andy,

here is what my log looks, when bind starts:

named_start("Aug-1","14:04:22","BIND 9.2.3 -t /var/lib/named -u named").
named_listening("Aug-1","14:04:23","IP127000000001").
named_listening("Aug-1","14:04:23","IP192168048228").
named_command("Aug-1","14:04:24","IP192168020228","PORT00953").
named_command("Aug-1","14:04:24","IP127000000001","PORT00953").
named_loaded("Aug-1","14:04:44",".").
named_loaded("Aug-1","14:04:45","5wc").
named_loaded("Aug-1","14:04:45","arpa").
named_loaded("Aug-1","14:04:46","in-addr.arpa").
...
named_running("Aug-1","14:05:52").
named_notify("Aug-1","14:05:52",".","2005080112)").
named_notify("Aug-1","14:05:53","in-addr.arpa","2005080104)").
...
named_lame("Aug-1","14:06:00","IP216066037013","'dynupdate.no-ip.com'").
named_serial("Aug-1","14:06:03","nl.vg","2005073100").
named_axfr_in("Aug-1","14:06:03","IP084022100006","nl.vg").
named_serial("Aug-1","14:06:03","eu.vg","2004110100").
named_axfr_in("Aug-1","14:06:03","IP084022100006","eu.vg").
named_notify("Aug-1","14:06:03","nl.vg","2005073100)").
named_notify("Aug-1","14:06:03","eu.vg","2004110100)").

I guess your bind only reached named_start.

The listing is somewhat shortened and beautyfied.

If your bind is started in chroot mode then its directories should
look something like

echnaton 1.0.9 # ls -l /var/lib/named
total 7
drwxr-xr-x 2 named root 1024 Oct 9 23:48 DNSOP
drwxr-xr-x 2 named root 1024 Oct 3 19:18 Tallini
drwxr-x--- 2 named root 1024 Feb 1 2005 dev
drwxr-x--- 2 named root 1024 Oct 9 23:16 etc
drwxr-xr-x 2 named root 1024 Sep 19 10:42 master
drwxr-xr-x 2 named root 1024 Oct 12 11:15 slave
drwxr-xr-x 5 named root 1024 Feb 1 2005 var

echnaton 1.0.9 # ls -l /var/lib/named/var
total 3
drwxr-xr-x 2 named root 1024 Jun 5 17:47 log
drwxr-x--- 2 named root 1024 Feb 1 2005 named
drwxr-x--- 2 named root 1024 Oct 12 03:52 run

echnaton 1.0.9 # ls -l /var/lib/named/var/run
total 1
-rw-r--r-- 1 named named 4 Oct 12 03:52 named.pid

Maybe you have to check the directory structure.
Maybe you have to create (vi :) the named.pid file and chown it
to named.named

If this does not help please tell how far you bind comes.

Dont worry your listing will look a bit different.

We shall look into resolving and serving DNS as soon as your
bind comes up.

Kind regards,
Peter and Karin

--

Kurt Boyack

unread,
Oct 12, 2005, 11:03:55 PM10/12/05
to
>
> Now when I start Named it says "[OK]" but it isn't loaded.
>
> Examening the log mentions that it couldn't open its pid file?
>

Your named probably does not have permission to create the pid file. I
think the default directory for named.pid is /var/run/named. You can
create the /var/run/named directory and give named permission to write
to it.


0 new messages