In article <mailman.1996.1389470377.20661.bind-us...@lists.isc.org>,
Blason R <blaso...@gmail.com> wrote:
Pertaining to the same discussion. Can someone validate below zone files
and named.conf files? What I wanted to achieve here is; I wanted to make
mail.example.com as my sub domain and give them A record so that I could
load balance the traffic on LBs since my LBs are offering inbuilt DNS server
[...]
##################################
#
# master.example.com
##################################
[...]
$ORIGIN mail.example.com.

@             IN      NS     ns3.mail.example.com.

; the next name server points to ns1 in the example.com zone above
              IN      NS     ns1.example.com.
; sub-domain address records for name server only - glue record
ns3           IN      A      20.20.20.21 ; 'glue' record
[...]
#############################################
# mail.example.com zone file
#############################################
#

$TTL 2d ; default TTL = 2 days
$ORIGIN mail.example.com.
@              IN     SOA   ns3.mail.example.com.
hostmaster.mail.example.com. (
               2003080800 ; serial number
               2h         ; refresh =  2 hours
               15M        ; update retry = 15 minutes
               3W12h      ; expiry = 3 weeks + 12 hours
               2h20M      ; minimum = 2 hours + 20 minutes
               )
; sub-domain name servers
                  IN      NS     ns3.mail.example.com.

On 11.01.14 15:33, Barry Margolin wrote:
You also need:

                   IN      NS     ns1.example.com.

to be more precise it's not needed, but recommended, since
- it's recommended to have more NS records - the delegation NS appears in parent zone
- NS records from the zone prevail over delegation and if
  ns3.mail.example.com fails and resolving DNS has authoritative NS cached,
  it won't query ns1.example.com. until the authoritative NS expires.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Quantum mechanics: The dreams stuff is made of. _______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to