Solved

Problem add NS record as hostname

Posted on 2012-12-24
8
587 Views
Last Modified: 2013-01-06
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
0
Comment
Question by:mgzawmyomin
8 Comments
 
LVL 25

Expert Comment

by:Tony Giangreco
ID: 38719639
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
 
LVL 6

Expert Comment

by:traoher
ID: 38719683
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
 
LVL 62

Expert Comment

by:gheist
ID: 38720335
NS record is always an IP address. How would you resolve it using not yet known IP of DNS server?
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:mgzawmyomin
ID: 38721614
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
 
LVL 15

Assisted Solution

by:Frabble
Frabble earned 300 total points
ID: 38722495
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
 

Accepted Solution

by:
mgzawmyomin earned 0 total points
ID: 38735510
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
 
LVL 62

Expert Comment

by:gheist
ID: 38735821
You need to juggle DNS content if one link goes down for longer period...
0
 

Author Closing Comment

by:mgzawmyomin
ID: 38748254
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

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question