Solved

Problem add NS record as hostname

Posted on 2012-12-24
8
585 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 61

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
 

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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
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 61

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

759 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now