Re: How can I launch a private Internet DNS server?

2020-10-15 Thread Jason Long via bind-users
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 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@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
-- 
Michael De Roover 

  
___
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@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


How can I launch a private Internet DNS server?

2020-10-15 Thread Jason Long via bind-users
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@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: How can I launch a private Internet DNS server?

2020-10-15 Thread Jason Long via bind-users
Thanks, but for some security reasons I don't like to host my DNS and Apache 
server on one server.






On Thursday, October 15, 2020, 08:53:30 PM GMT+3:30, alcol alcol 
 wrote: 







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  on behalf of Jason Long via 
bind-users 
Sent: Thursday, October 15, 2020 6:57 PM
To: i...@nixmagic.com ; Michael De Roover 
; bind-users@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
> 
>  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 +, 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@lists.isc.org
>>  https://lists.isc.org/mailman/listinfo/bind-users
> 
> -- 
> Michael De Roover >
> 
> 
> 
> 




___
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@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
___
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@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: How can I launch a private Internet DNS server?

2020-10-15 Thread Jason Long via bind-users
Yes.
In the panel of domain name registrar I can enter something like 
"NS1.example.net" and an IP address.
I want to host the host t DNS server myself.






On Thursday, October 15, 2020, 08:36:35 PM GMT+3:30, Stephane Bortzmeyer 
 wrote: 





On Thu, Oct 15, 2020 at 04:36:58PM +0000,
Jason Long via bind-users  wrote 
a message of 1594 lines which said:

> in the panel of it, I can enter my DNS server IP addresses.

I assume you refer to the panel of your domain name registrar. If so,
it would be useful to know which is the label near the field where you
enter the IP address. It may be to give an IP address to the
www.yourdomainname, not to indicate your DNS server.

> I want to launch a CentOS DNS server that my Web site using it and
> users can visit my website from the Internet.

I have a meta-question: do you absolutely want to host the DNS
yourself (it is certainly possible but it is more work) or do you just
want to have "a Web site that people can visit"? If you don't have a
specific reason to host the DNS server(s) yourself, consider using a
DNS hoster (most domain name registrars can be DNS hosters).

"For the fun" or "to learn DNS" are perfectly valid reasons.

> 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.

There is no real difference between an internal DNS server and a
publically reachable one. Same DNS, same software.


> Is Internet DNS server just possible for providers?


Certainly not. You can host a publically-reachable DNS server
yourself. It is not rocket science but it requires some basic
knowledge about the TCP/IP family of protocols and about how things
fit together.

___
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@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: How can I launch a private Internet DNS server?

2020-10-15 Thread Jason Long via bind-users
My static IP addresses are public.






On Thursday, October 15, 2020, 08:42:42 PM GMT+3:30, Michael De Roover 
 wrote: 





Are these static IP's local or public? If local, you can instruct your
router to port forward to these. If these are public, I guess these
machines make a direct connection to the internet with a public IP on
their interface then? In that case you can omit any port forwarding.

The secondary DNS server is for redundancy. You can omit any
instructions regarding it when following the tutorial if you intend to
only make one. The server type would indeed be authoritative - the
other type would be recursive which is generally what ISP's have for
their customers, but I would avoid that because they can be used for
DNS amplification attacks (the authoriative ones can too but it's less
of an issue with those).

On Thu, 2020-10-15 at 16:57 +, Jason Long wrote:
> 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" ? 
-- 
Michael De Roover 

___
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@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users