EHCP with 2 IP's
Submitted by dnieu on Mon, 01/25/2010 - 01:08
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 ?
Forums:
ehcpdeveloper
Mon, 01/25/2010 - 02:28
Permalink
in fact, your configuration
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:
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.
dnieu
Mon, 01/25/2010 - 03:06
Permalink
Namserver
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.
Regards,
Derick Nieuwoudt
dnieu
Mon, 01/25/2010 - 04:11
Permalink
My mistake here, I did custom DNS wrong
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.
Regards,
Derick Nieuwoudt