H
H
heihachi882015-02-25 16:39:14
Domain Name System
heihachi88, 2015-02-25 16:39:14

Bind9 - what IP address to specify for A records of the NS subdomain?

I have a dedicated server with Bind (ubuntu 14.04) with ip: aa.aa.aa.aa
and
a non-bind web server with ip:bb.bb.bb.bb
An example domain.com.db zone file:

; BIND data file for domain.com
;
$TTL 14400
;$TTL 3600
@ IN SOA dns1.domain.com. srv.domain.com. (
2014220900 ; Serial
7200 ; Refresh
120 ; Retry
2419200 ; Expire
604800) ; Default TTL
;
@ IN NS dns1.domain.com.
@ IN NS dns2.domain.com.

@ IN A bb.bb.bb.bb

dns1 IN A bb.bb.bb.bb
dns2 IN A bb.bb.bb.bb

www IN A bb.bb.bb.bb

@ IN TXT "v=spf1 ip4:bb.bb.bb.bb include:_spf.google.com ~all"

Do I need to specify the ip address of the Bind server for dns1 and dns2 records? Or do I need to specify the IP address of the web server in this case?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey N, 2015-06-04
@Albibek

You need to specify the addresses of the DNS servers responsible for your zone. The web server has nothing to do with it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question