You are not logged in.

#1 2015-12-17 11:45:55

Ghal
Member
From: Gothenburg, Sweden
Registered: 2015-10-09
Posts: 14

[BIND and DNS] Attempting to set up local DNS

Hey guys!
I've for some day now tried to get this to work, and usually flipped the table in annoyance. I'm just trying to set up a simple zone file but I must have ----ed something up, anyone care to take a look?

[DOMAIN]

$TTL 86400

@       IN      SOA     [DOMAIN] root,[DOMAIN](
                        2015121804      ; serial number YYMMDDNN
                        28800           ; Refresh
                        7200            ; Retry
                        864000          ; Expire
                        86400           ; Min TTL
                        )
;Server A record for IP

        IN      A       [IP -DOMAIN]

;Two Nameservers

        IN      NS      [NS - DOMAIN1]
;       IN      NS      [NS - DOMAIN2]
;Two nameservers IP.

        IN      NS      [NS  - IP1]
        IN      NS      [NS - IP2]

; Alias and Cname

www     IN      CNAME   [DOMAIN]
ftp     IN      CNAME   [DOMAIN]

;MX record for mail

mail    IN      MX      10      [DOMAIN]

To try and give you more info, runnig named -g gives me the following:

17-Dec-2015 12:30:19.304 zone [DOMAI]/IN: NS '[NS-DOMAIN1].[DOMAIN]' has no address records (A or AAAA) 

Offline

Board footer

Powered by FluxBB