How can I launch a private Internet DNS server?

alcol alcol alcol at hotmail.com
Thu Oct 15 17:19:06 UTC 2020


can't be done a tutorial for your specific case
follow the section for primary DNS and discard secondary section

aren't needed two IP one for web and one for DNS , if you want all can be done with 1 IP

be sure you have 80 443 53tcp 53udp open from internet to your server.



________________________________
From: bind-users <bind-users-bounces at lists.isc.org> on behalf of Jason Long via bind-users <bind-users at lists.isc.org>
Sent: Thursday, October 15, 2020 6:57 PM
To: isc at nixmagic.com <isc at nixmagic.com>; Michael De Roover <isc at nixmagic.com>; bind-users at lists.isc.org <bind-users at lists.isc.org>
Subject: Re: How can I launch a private Internet DNS server?

Yes, I have two static IP addresses. One is for DNS server and one is for my website.
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?
The Internet DNS server for my goal is "Authoritative DNS" ?



On Thu, Oct 15, 2020 at 8:15 PM, Michael De Roover
<isc at nixmagic.com> wrote:
Assuming that this is running off a home network, yes you could
technically do it. Probably the registrar's name servers will be more
reliable however. I'll also assume that your public IP is static.
Otherwise it may only be suitable for the website, with a Dynamic DNS
service that can regularly update the records as your IP changes. This
means that you'll have to use someone else's DNS servers to host your
records.

You can run BIND locally and make it an authoritative name server. Your
router can port forward traffic to port 53/udp to your local IP that
your DNS server is on. There are various tutorials online for making
authoritative DNS servers, such as this one:
https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-an-authoritative-only-dns-server-on-ubuntu-14-04
.

At the registrar you'll need to select "custom name server" or
something along those lines. Then you have to insert NS records there
that point to the nameserver addresses for your domain(s). Check your
registrar's documentation for instructions on how to add NS records.

On Thu, 2020-10-15 at 16:36 +0000, Jason Long via bind-users wrote:
> Hello,
> I have a question about launching a DNS server with CentOS for
> hosting a web server. Excuse me, if my question is so basic and
> funny. I need expert advice about it.
> I registered a domain name for my web site and in the panel of it, I
> can enter my DNS server IP addresses. I want to launch a CentOS DNS
> server that my Web site using it and users can visit my website from
> the Internet. These two servers (DNS and Web server) are in a local
> network and connected to the Internet with a Gateway. Each server has
> an internal and a public IP address.
> I want to enter my DNS server IP address in my website panel and
> after it, users can visit my website from the Internet. I'm thankful
> if anyone show me a tutorial to launch my DNS server for this goal.
> All tutorials that I found on the internet are about internal DNS
> servers, but I want to launch a DNS server for hosting my website.
> Is Internet DNS server just possible for providers?
>
> Thank you.
>
>
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to
> unsubscribe from this list
>
> ISC funds the development of this software with paid support
> subscriptions. Contact us at https://www.isc.org/contact/ for more
> information.
>
>
> bind-users mailing list
> bind-users at lists.isc.org<mailto:bind-users at lists.isc.org>
> https://lists.isc.org/mailman/listinfo/bind-users

--
Michael De Roover <isc at nixmagic.com<mailto:isc at nixmagic.com>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20201015/b5416bb6/attachment.htm>


More information about the bind-users mailing list