← Back to team overview

sslug-teknik team mailing list archive

Re: Re: Re: DNS opsætning

 


Nicolay Hoey wrote:



Har du opdateret serial, lavet en reload på zonen og hvad siger loggen ?

Jeg kørte efter opdateringen /etc/rc.d/init.d/named restart og /var/log/messages kommer ikke med fejl. Kun at named startede med succes.

Min /var/named/named.thematrixnet.dk (thematrixnet.dk er mit hjemmedomæne) ser sådan ud:

;
; Zone file for .thematrixnet.dk
;
; Mandatory minimum for a working domain
;

$TTL 86400           ; Default TTL for any record.
                     ; Most often same as SOA TTL.
                     ; 86400   s = 24 hours

@    IN      SOA    neo.thematrixnet.dk.  hostmaster.neo.thematrixnet.dk. (
199901121 ; serial, todays date + todays serial #
                          28800           ; refresh, seconds
                          7200            ; retry, seconds
                          3600000         ; expire, seconds
                          86400 )         ; TTL, minimum, seconds

            IN      NS      neo.thematrixnet.dk.

; local mail is distributed on neo
thematrixnet.dk. IN MX 10 neo.thematrixnet.dk. ; Primary Mail Exchanger

neo       IN    A      192.168.1.10
; some aliases for my machine
;* IN CNAME neo ;thematrixnet.dk IN CNAME neo mail IN CNAME neo news IN CNAME neo proxy IN CNAME neo
ns          IN    CNAME  neo
www         IN    CNAME  neo
ftp         IN    CNAME  neo
cvs         IN    CNAME  neo
	    IN	  CNAME	 neo

;
; Extras
;
;@               TXT     "thematrixnet.dk, your DNS"

; added some info on the third machine:
morpheus IN A 192.168.1.1
                MX      10 mail
                HINFO   "Athlon XP1800" "Win2000 + Linux"
                TXT     "Workstation"

;
; give "localhost.thematrixnet.dk" and "loopback.thematrixnet.dk" IP address 127.0.0.1
localhost IN A  127.0.0.1
loopback  IN A  127.0.0.1


Anders Misfeldt



Follow ups

References