Change Time to EST
Update
Timezone, follow prompt:
sudo
dpkg-reconfigure tzdata
*Select
US -> Eastern
First thing First. Update/upgrade
sudo
apt-get update
Now the Bind Install
sudo
apt-get install bind9
In
Ubuntu, this is installed in /etc/bind
Need to Add the RPZ file for over rides
Add
all CNAME record in RPZ file, like below
sudo
vi /etc/bind/db.rpz
$TTL
86400
@
IN SOA localhost. root.localhost. (
2 ; serial
3H ; refresh
1H ; retry
1W ; expiry
1H) ; minimum
IN NS localhost.
www.yahoo.com
CNAME .
stocks.yahoo.com
CNAME www.google.com.
Edit the named.conf.local
Add
zone here, here for forward lookup to on premise from azure.
sudo
vi /etc/bind/named.conf.local
zone
"rpz" {
type master;
file "/etc/bind/db.rpz";
};
//Forwarding
Zone for anything related to PPG Domain to ask PPG DNS
zone "xyz.com" {
type forward;
forwarders {
10.11.101.131; //XYZ On Premise DNS Primary
10.11.101.132; //XYZ On Premise DNS Seconday
};
};
Edit the named.conf.options
Here
need to add azure recursive resolver and good clints
sudo
vi /etc/bind/named.conf.options
//
Clients to accept requests from
//
TODO: Add the IP range of the joined network to this list
acl
goodclients {
11.112.121.32/26; # IP range of B2B VPN VNet
11.122.11.0/24; #IP range of Express Route VNet
localhost;
localnets;
};
Restart the Bind Service
sudo
service bind9 restart
Check it came back okay
sudo
service bind9 status
Verify DNS working correctly?
nslookup
> server 193.247.121.196
Default Server: rabbit.akadia.ch
Address: 193.247.121.196
> server 193.247.121.196
Default Server: rabbit.akadia.ch
Address: 193.247.121.196
Check the Nameservers (NS)
> set q=NS
> voidio.com
Server: rabbit.voidio.ch
Address: 193.247.121.196
voidio.com nameserver = lila.thenet.ch
voidio.com nameserver = rabbit.voidio.com
lila.thenet.ch internet address = 193.135.252.2
rabbit.voidio.com internet address = 193.247.121.196
To install and configure DNS Bind on RHEL 7 go here.
> voidio.com
Server: rabbit.voidio.ch
Address: 193.247.121.196
voidio.com nameserver = lila.thenet.ch
voidio.com nameserver = rabbit.voidio.com
lila.thenet.ch internet address = 193.135.252.2
rabbit.voidio.com internet address = 193.247.121.196
To install and configure DNS Bind on RHEL 7 go here.
Post a Comment
Post a Comment
Thanks for your comment !
I will review your this and will respond you as soon as possible.