Problem add NS record as hostname

EXPERTS

I have two internet line and website at my company , I going to deploy peplink  link balancer at my company , If link A down Link B will take over for internet and inbound traffic,

for deployment Peplink need to modify External DNS record at ISP , Attached is example of NS record . My problem is unable to add ns record as hostname only allow to add ip address.

Anyone have experience with configure link balancer for webserver ?
inbound-load-balance.png
mgzawmyominAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
mgzawmyominConnect With a Mentor Author Commented:
Finally I manage to make it work

I have to use child domain to point NS to my link balancer
www record is under NS that is peplink
DNS can't find www.crop.footbar.com so go and look for Name server that is peplink and found a record

Cheer


Example of


configuration in authoritative DNS

corp NS wan1balance

corp NS wan2balance

wan1balance A x.x.x.x

wan2balance A y.y.y.y



www CNAME www.corp.foobar.com<http://www.corp.foobar.com>

ftp CNAME ftp.corp.foobar.com<ftp://ftp.corp.foobar.com>

mail CNAME mail.corp.foobar.com
0
 
Tony GiangrecoCommented:
Your ISP should be able to add reverse dns to the line they provide like mail.mydomain.com

You can also have an external company handle your DNS and they will add the necessary records.

Here is a link of reviews of companies that provide that service
http://www.dnsreviews.com/category/hosteddns/
0
 
traoherCommented:
I for this to work properly, your external DNS  reconfiguration must be configured at the Authoritative DNS server.

The load balance method is probably done using round robin method.  To guarantee dead peer detection, some type of keep alive packets are maintain between the  load balancer and the Authoritative DNS server.

Perhaps the problem you having is by designed since it is really a single host but two different IP addresses.  That means that you either enter hostname only once or already defined with the service in question.
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
gheistCommented:
NS record is always an IP address. How would you resolve it using not yet known IP of DNS server?
0
 
mgzawmyominAuthor Commented:
Hi Experts,

I also problem understanding peplink concepts , I going to deploy link balancer with 2 wan link , the following links is example from peplink link balancer site .
Please advise to me how does it work for external DNS ?

http://www.peplink.com/index.php?view=faq&id=125&path=21

B.rgds
0
 
FrabbleConnect With a Mentor Commented:
The way the "load balancing" works is that name server delegation is configured to point to the Peplink device. When you configure the host for the service you are providing, you configure an IP address associated for each of the two WAN interfaces you are using.
Depending on the state of the WAN links, a DNS query for that host will return one, the other or both IP addresses. Clients will usually use the first address if more than one.

If more than one record exists for an entry, DNS servers return the entries in cyclic order, called "round robin". In your case, a response to a DNS query may give the addresses for WAN1 then WAN2, the next response to a query will give the address for WAN2 then WAN1. Peplink call it load balancing but all that is happening is load distribution using DNS.

How name server delegation is done depends how the domain is distributed and used by other sites. The example given has delegation done for a single host entry. If you can't configure NS records as shown then this may be a limitation of the tools you have been given to add records and you will need to contact your DNS provider to be able to do this.
0
 
gheistCommented:
You need to juggle DNS content if one link goes down for longer period...
0
 
mgzawmyominAuthor Commented:
Example of


configuration in authoritative DNS

corp NS wan1balance

corp NS wan2balance

wan1balance A x.x.x.x

wan2balance A y.y.y.y



www CNAME www.corp.foobar.com<http://www.corp.foobar.com>

ftp CNAME ftp.corp.foobar.com<ftp://ftp.corp.foobar.com>

mail CNAME mail.corp.foobar.com
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.