Unbound DNS Server for Public Website & non used ips pointing to default domain

JAHANZAIB SYED aacable at hotmail.com
Fri Sep 23 19:56:51 UTC 2022


thank you for the tips. I will definitely try these links & will update results after testing,


Regards
SJZ




Regards,
SYED JAHANZAIB

Web      : http://aacable.wordpress.com
LinkedIn: http://pk.linkedin.com/pub/syed-jahanzaib/24/3b/407
<http:///>
________________________________
From: Ron Varburg <ronvarburg at yahoo.com>
Sent: Friday, September 23, 2022 6:09 PM
To: unbound-users at lists.nlnetlabs.nl <unbound-users at lists.nlnetlabs.nl>; JAHANZAIB SYED <aacable at hotmail.com>
Subject: Re: Unbound DNS Server for Public Website & non used ips pointing to default domain

It looks to me you are confusing concepts.
Even though https://www.digitalocean.com/community/tutorials/how-to-set-up-dnssec-on-an-nsd-nameserver-on-ubuntu-14-04 is not about unbound, at least its 1st part will hopefully guide you in the right track.
nsd is another product of ntlabs.
Hopefully, after reading, or applying, that guide, you will be better guided in using unbound the way you wanted to. Or you might be satisfied with nsd, and keeps it. Or just using your hosting provider name server.
Sorry for not being able to answer directly your questions. Still, I do hope my reply would help you a bit.
On Friday, September 23, 2022, 12:10:20 PM GMT+3, JAHANZAIB SYED via Unbound-users <unbound-users at lists.nlnetlabs.nl> wrote:


I am trying to get some basic ideas on dns/hosting.

I have purchased a public domain name example.com & the hosting provider have given me with cpanel accesss where I can add my dns records using cpanel zone editor.

I want to use my own UNBOUND dns server in replacement of hosting provider dns server. I have configured local Unbound DNS (on my public IP like 1.1.1.1) & created all records like wwww/mx/few hosts.

How can I use my unbound dns as my domain primary dns? example If I change the primary NS on Cpanel and point it to 1.1.1.1 (unbound) , will all resolving for example.com will be done via my unbound server?

Few records example at Unbound:


  *   server:
  *   local-data: "host1.example.com A 1.1.1.3"
  *   local-data: "mail.example.com A 1.1.1.4"
  *   local-data-ptr: "1.1.1.3 host1.example.com"
  *   local-data-ptr: "1.1.1.4 mail.example.com"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20220923/4bd240c2/attachment-0001.htm>


More information about the Unbound-users mailing list