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/
--
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.
With kind regards
Andy
--
Registered Linux User Number 379093
Now listening to Daan - Housewife - Conversation
Andy
--
Registered Linux User Number 379093
Now listening to Daan - Housewife - Conversation
amaroK::the Coolest Media Player in the known Universe!
> 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
--
Registered Linux User Number 379093
Now listening to [silence]
> 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
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.
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
--
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.