Re: Primary DNS server with BIND on a public machine running CentOS 7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Here are two articles on DNS that I wrote for Opensource.com.

Introduction to the Domain Name System (DNS) https://opensource.com/article/17/4/introduction-domain-name-system-dns

Build your own DNS name server on Linux https://opensource.com/article/17/4/build-your-own-name-server

I hope this helps.

On 04/11/2017 01:34 PM, Gordon Messmer wrote:
On 04/11/2017 10:05 AM, Nicolas Kovacs wrote:
Is there a*reliable*  more or less quick & dirty tutorial on how to get
BIND up and running as a primary public nameserver, with the default
configuration as a starting point?


1: Change the "listen-on" settings to bind to network interfaces:

-       listen-on port 53 { 127.0.0.1; };
-       listen-on-v6 port 53 { ::1; };
+       listen-on port 53 { any; };
+       listen-on-v6 port 53 { any; };

2: Allow external queries by removing the allow-query setting entirely:

-       allow-query     { localhost; };

3: Disallow recursion by removing recursion setting:

-       recursion yes;

4: Add your zones.

DNSSEC is slightly more involved, but basic setup should be basically the same as what you've been doing.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos

--


*********************************************************
David P. Both, RHCE
Millennium Technology Consulting LLC
Raleigh, NC, USA
919-389-8678

dboth@xxxxxxxxxxxxxxxxxxxxxxxxx

www.millennium-technology.com
www.Linux-Databook.info - Home of the DataBook for Linux
DataBook is a Registered Trademark of David Both
*********************************************************

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux