<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
can't be done a tutorial for your specific case</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
follow the section for primary DNS and discard secondary section</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
aren't needed two IP one for web and one for DNS , if you want all can be done with 1 IP</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
be sure you have 80 443 53tcp 53udp open from internet to your server.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> bind-users <bind-users-bounces@lists.isc.org> on behalf of Jason Long via bind-users <bind-users@lists.isc.org><br>
<b>Sent:</b> Thursday, October 15, 2020 6:57 PM<br>
<b>To:</b> isc@nixmagic.com <isc@nixmagic.com>; Michael De Roover <isc@nixmagic.com>; bind-users@lists.isc.org <bind-users@lists.isc.org><br>
<b>Subject:</b> Re: How can I launch a private Internet DNS server?</font>
<div> </div>
</div>
<div>Yes, I have two static IP addresses. One is for DNS server and one is for my website.
<div id="x_yMail_cursorElementTracker_1602780768485">Excuse me, I just have one server for DNS and that tutorial is about secondary DNS server too. Can you show me another tutorial with one server and same goal?</div>
<div id="x_yMail_cursorElementTracker_1602780977025">The Internet DNS server for my goal is "Authoritative DNS" ? <br id="x_yMail_cursorElementTracker_1602780720448">
<br>
<div id="x_ymail_android_signature"><br>
</div>
<br>
<blockquote style="margin:0 0 20px 0">
<div style="font-family:Roboto,sans-serif; color:#6D00F6">
<div>On Thu, Oct 15, 2020 at 8:15 PM, Michael De Roover</div>
<div><isc@nixmagic.com> wrote:</div>
</div>
<div id="x_yMail_cursorElementTracker_1602780798247" style="padding:10px 0 0 20px; margin:10px 0 0 0; border-left:1px solid #6D00F6">
Assuming that this is running off a home network, yes you could<br clear="none">
technically do it. Probably the registrar's name servers will be more<br clear="none">
reliable however. I'll also assume that your public IP is static.<br clear="none">
Otherwise it may only be suitable for the website, with a Dynamic DNS<br clear="none">
service that can regularly update the records as your IP changes. This<br clear="none">
means that you'll have to use someone else's DNS servers to host your<br clear="none">
records.<br clear="none">
<br clear="none">
You can run BIND locally and make it an authoritative name server. Your<br clear="none">
router can port forward traffic to port 53/udp to your local IP that<br clear="none">
your DNS server is on. There are various tutorials online for making<br clear="none">
authoritative DNS servers, such as this one: <br clear="none">
<a shape="rect" href="https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-an-authoritative-only-dns-server-on-ubuntu-14-04" target="_blank" id="x_yMail_cursorElementTracker_1602780796175">https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-an-authoritative-only-dns-server-on-ubuntu-14-04</a><br clear="none">
.<br clear="none">
<br clear="none">
At the registrar you'll need to select "custom name server" or<br clear="none">
something along those lines. Then you have to insert NS records there<br clear="none">
that point to the nameserver addresses for your domain(s). Check your<br clear="none">
registrar's documentation for instructions on how to add NS records.<br clear="none">
<div class="x_yqt7365541567" id="x_yqtfd67830"><br clear="none">
On Thu, 2020-10-15 at 16:36 +0000, Jason Long via bind-users wrote:<br clear="none">
> Hello,<br clear="none">
> I have a question about launching a DNS server with CentOS for<br clear="none">
> hosting a web server. Excuse me, if my question is so basic and<br clear="none">
> funny. I need expert advice about it.<br clear="none">
> I registered a domain name for my web site and in the panel of it, I<br clear="none">
> can enter my DNS server IP addresses. I want to launch a CentOS DNS<br clear="none">
> server that my Web site using it and users can visit my website from<br clear="none">
> the Internet. These two servers (DNS and Web server) are in a local<br clear="none">
> network and connected to the Internet with a Gateway. Each server has<br clear="none">
> an internal and a public IP address.<br clear="none">
> I want to enter my DNS server IP address in my website panel and<br clear="none">
> after it, users can visit my website from the Internet. I'm thankful<br clear="none">
> if anyone show me a tutorial to launch my DNS server for this goal.<br clear="none">
> All tutorials that I found on the internet are about internal DNS<br clear="none">
> servers, but I want to launch a DNS server for hosting my website.<br clear="none">
> Is Internet DNS server just possible for providers?<br clear="none">
> <br clear="none">
> Thank you.<br clear="none">
> <br clear="none">
> <br clear="none">
> _______________________________________________<br clear="none">
> Please visit <a shape="rect" href="https://lists.isc.org/mailman/listinfo/bind-users " target="_blank">
https://lists.isc.org/mailman/listinfo/bind-users </a>to<br clear="none">
> unsubscribe from this list<br clear="none">
> <br clear="none">
> ISC funds the development of this software with paid support<br clear="none">
> subscriptions. Contact us at <a shape="rect" href="https://www.isc.org/contact/ " target="_blank">
https://www.isc.org/contact/ </a>for more<br clear="none">
> information.<br clear="none">
> <br clear="none">
> <br clear="none">
> bind-users mailing list<br clear="none">
> <a shape="rect" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a><br clear="none">
> <a shape="rect" href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">
https://lists.isc.org/mailman/listinfo/bind-users</a></div>
<br clear="none">
-- <br clear="none">
Michael De Roover <<a shape="rect" href="mailto:isc@nixmagic.com">isc@nixmagic.com</a>
<div class="x_yqt7365541567" id="x_yqtfd17197">><br clear="none">
<br clear="none">
</div>
</div>
</blockquote>
</div>
</div>
</div>
</body>
</html>