# cat /etc/named.conf
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
// See the BIND Administrator's Reference Manual (ARM) for details about the
// configuration located in /usr/share/doc/bind-{version}/Bv9ARM.html
options {
directory "/var/named";
version "get lost";
recursion yes;
allow-transfer {"none";};
allow-query { any; };
allow-recursion { any; };
};
logging {
channel default_file {
file "data/named.log" size 10m;
severity debug;
print-time yes;
print-severity yes;
print-category yes;
};
category default{ default_file; };
};
zone "bst-1.cns.bstjpc.com" IN {
type forward;
forward only;
forwarders { 109.105.30.14; };
};
include "/etc/named.rfc1912.zones";
=======================================================
# cat /etc/named.rfc1912.zones
zone "gcloud.srcb.com" IN {
type master;
file "gcloud.srcb.com.zone";
};
=================================================
# cat /var/named/gcloud.srcb.com.zone
$TTL 600
@ IN SOA @ rname.invalid. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
NS @
A 109.105.1.253
A 109.105.1.254
AAAA ::1
IN NS ns1
IN NS ns2
ns1 IN A 109.105.1.253
ns2 IN A 109.105.1.254
dashboard IN A 109.105.1.253
IN A 109.105.1.254
IN A 109.105.1.208
IN A 109.105.1.209
spinnaker IN A 109.105.1.253
IN A 109.105.1.254
IN A 109.105.1.208
IN A 109.105.1.209