Posts: 0
Threads: 12
Joined: Feb 2025
Reputation:
0
I have created :
eth0 Ethernet 196.xxx.75.182
eth0:1 Ethernet (Virtual) 196.xxx.75.180
Both Ip's point to EHCP
Then in one domain I have changed DNS Settings:
ns1.{domainname}. IN A 196.xxx.75.182
ns2.{domainname}. IN A 196.xxx.75.180
But from outside when I ping ns1.domain I get dnsip and
when I ping ns2.domain I also get dnsip.
Is it possible for a domain in EHCP to work with two IP's ?
Restored from old drupal forum, for user uid:3033 username:dnieu
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Feb 2025
Reputation:
0
in fact, your configuration should work, as you expected. if you change that way, ping ns2.domain.com should ping to your 2nd ip. I dont know why it didn't worked.
try:
<code>host ns2.domain.com
what you see as output of this command ?(replace your domainname)
as dns, in ehcp, you may use 2 or more ip's, no additional action needed. just edit dns template.
if you want to divide domains between ip's, regarding web access, you may need some more settings.
Restored from old drupal forum, for user uid:3033 username:dnieu
You may reset your password to access your new account here.
Posts: 0
Threads: 12
Joined: Feb 2025
Reputation:
0
If you register domain they need 2 nameservers different IP's
I'm trying to setup my domain with 2 nameservers.
server has 2 static ip's
At the end I can register domains as I have 2 nameservers
pointing to one server.
I have tried host ns1.domain and host ns2.domain
it gives me the same dnsip.
Strange thing I see, even when I ping xxxx.domain and xxxx is not even in the domain dns it still works.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 0
Threads: 12
Joined: Feb 2025
Reputation:
0
I did the custom DNS wrong.
I did :
{customdns}
* IN A {webip}
dns20.domain IN A 196.xxx.xx.xxx
dns22.domain IN A 196.xxx.xx.ZZZ
The Correct way :
{customdns}
* IN A {webip}
dns20 IN A 196.xxx.xx.xxx
dns22 IN A 196.xxx.xx.zzz
Now when I ping dns20.domain I get 196.xxx.xx.xxx and
when I ping dns22.domain I get 196.xxx.xx.zzz
Thanks.
Restored from old drupal forum, for user uid:3033 username:dnieu
You may reset your password to access your new account here.