BIND ACL to restrict zone trasfer with IP address Rumi, December 17, 2017 You need to define ACL in /etc/named.conf or /etc/bind/named.conf.local file. Let us say IP 1.2.3.4 and 1.2.3.5 are allowed to transfer your zones. # vi named.conf or vi /etc/bind/named.conf.local Here is sample entry for domain domain.org.bd (ns1 configuration): acl trusted-servers { 1.2.3.4; //ns1 1.2.3.5; //ns2 }; zone "domain.org.bd" { type master; file "/var/lib/bind/domain.org.bd.hosts"; also-notify { 1.2.3.5; }; notify yes; allow-transfer { trusted-servers; }; }; Next add zone domain.org.bd. Please note that you must use set of hosts later in each zone’s configuration block i.e. put line allow-transfer { trusted-servers; }; for each zone / domain name. Restart named: # /etc/init.d/named restart How do I test zone transfers restrictions are working or not? Use any UNIX dns tool command such as nslookup, host or dig. For example, following example uses host command to request zone transfer: $ host -T axfr domain.org.bd Output: ;; Connection to 1.2.3.4#53(1.2.3.4) for axfr failed: connection refused. Related Administrations Configurations (Linux) BindUbuntu
Install Zimbra on Centos 5 Step by step August 24, 2012August 24, 2012 Zimbra is a suite of tools for Unix/Linux/MacOS systems, which includes a secure mail server, web mail, anti-spam/anti-virus controls, a Web management interface, integrated calendaring, mobile device sync, and more. In many ways, Zimbra is the Unix equivalent to Microsoft Exchange. In this post, I will be installing Zimbra… Read More
endian firewall community defaul root password September 13, 2011 I do not like to read whole documentation to get the default password, it is wasting of time, so I use google to do it. But it was rather hard do find the default password for endian firewall (Yes, I've just installed it for testing purposes). So: login: root… Read More
Mount CDROM to Pfsense November 19, 2022 Go to a shell. Make a directory to mount the CD at: mkdir /tmp/cdrom Mount the CD: mount_cd9660 /dev/acd0 /tmp/cdrom or mount_cd9660 /dev/cd0 /tmp/cdrom CD is now mounted at /tmp/cdrom. When finished unmount: umount /tmp/cdrom * Note: If your cdrom device is not acd0, check the bootup messages for the… Read More