Author Topic: Hostname Dns1 Dns2 using different domain  (Read 1278 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
Hostname Dns1 Dns2 using different domain
« on: August 22, 2022, 12:17:06 PM »
hello
is that posible to have:

hostname : domain1.tld
ns1: ns1dom.tld
ns2: ns2dom.tld
?

if possible, how i can do that ?

almalinux 8.5
cwp pro



Thankyou

Offline
***
Re: Hostname Dns1 Dns2 using different domain
« Reply #1 on: August 22, 2022, 01:54:01 PM »
Yes, you just have to create the A records, and register the DNS names & IP's with the registrar the domain is with.

Offline
***
Re: Hostname Dns1 Dns2 using different domain
« Reply #2 on: August 23, 2022, 08:45:34 AM »
the problem is,,,
i already do that

Methode 1:
ns1dom.tld
create private nameserver
srv.ns1dom.tld IN A 999.999.999.999

ns2dom.tld
create private nameserver
srv.ns2dom.tld IN A 999.999.999.999

then i set Domain nameserver to

ns1dom.tld IN NS srv.ns1dom.tld
ns1.dom.tld IN NS srv.ns2dom.tld

domain ns1dom.tld and ns2dom.tld + srv.ns2dom.tld and srv.ns2dom.tld alreadt added to domain1.tld cwp
and ofcource at cwp nameserver already set ns1dom.tld and ns2dom.tld IN A

result :

domainclient1.tld IN NS ns1dom.tld
domainclient1.tld IN NS ns2dom.tld
failed

domainclient1.tld IN NS srv.ns1dom.tld
domainclient1.tld IN NS srv ns2dom.tld
success


Offline
***
Re: Hostname Dns1 Dns2 using different domain
« Reply #3 on: August 23, 2022, 02:24:21 PM »
Did you register the DNS at the domain registrar.

I know Name Cheap has it kinda hidden.

Offline
***
Re: Hostname Dns1 Dns2 using different domain
« Reply #4 on: August 24, 2022, 08:06:23 AM »
tested on some registrar
and country tld

result
not all registrar support it
and that not working if we do the trick from whmcs :( ( perhaps because country tld in my case... .my.id )

tested on blablabla1.xyz and blablabla2.xyz it working but should not changing from whmcs

Offline
***
Re: Hostname Dns1 Dns2 using different domain
« Reply #5 on: August 24, 2022, 09:04:27 AM »
The DNS entries in WHMCS are for the form letter email to the customer only.
It does NOT affect the DNS on the CWP server.

Those are configured under DNS Functions -> Edit Nameserver IPs

Enter your custom NS1 & NS2 names & IP's and click 'Save changes', Restart Bind DNS Server from Main Dashboard.

Offline
***
Re: Hostname Dns1 Dns2 using different domain
« Reply #6 on: August 24, 2022, 09:14:28 AM »
no, imean
for my country domain like .my.id we dont have domain panel. all seller/registrant are working using 3rb party management. like whmcs etc.


so in global domaion like .com
as long as i populate the domainname.tld IN A
it can act as "spoof" DNS ?


**we are talking about domain act as dns
like: domain1.com domain2.com

not subdomain
like
01.domain.com
02.domain.com

Offline
***
Re: Hostname Dns1 Dns2 using different domain
« Reply #7 on: August 24, 2022, 04:18:25 PM »
DNS are setup with NS and A records.

They are always like ns1.domain.com, ns2.domain.com and then they respond on UDP/TCP port 53.

Namecheap offers .id domain name registration when I looked.

But most important you have to register whatever you call the 2 domain servers names & IP's.
And then that takes 24 hours to propagate.

--
This is an example of the raw DNS file in CWP:

@   86400   IN   NS      ns1.domain.com.
@   86400   IN   NS      ns2.domain.com.
ns1.domain.com.     14400   IN      A       123.123.123.123  ; #ns1
ns2.domain.com.     14400   IN      A       123.123.124.124  ; #ns2

Offline
***
Re: Hostname Dns1 Dns2 using different domain
« Reply #8 on: August 27, 2022, 07:37:09 AM »
we miss some point here

i mean not ns1.domain.tld
but

ns1 using dns01.tld
ns2 using dns02.tld
example

mynewdomain.com IN NS dns01.my.id
mynewdomain.com IN NS dns02.my.id

Offline
*****
Re: Hostname Dns1 Dns2 using different domain
« Reply #9 on: September 09, 2022, 03:41:00 PM »
You must add NS's subdomains for dns01.my.id ex. ns1.dns01.my.id and then you will be able to use NS's ns1.dns01.my.id etc
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
***
Re: Hostname Dns1 Dns2 using different domain
« Reply #10 on: September 10, 2022, 02:42:22 AM »
You must add NS's subdomains for dns01.my.id ex. ns1.dns01.my.id and then you will be able to use NS's ns1.dns01.my.id etc

no i mean i use top domain

like

newdomain.com IN NS domain-01.net
newdomain.com IN NS domain-02.net

not

newdomain.com IN NS ns1.domain-01.net
newdomain.com IN NS ns2.domain-01.net