Posts filed under ‘DNS and Bind’

Sub Domain Delegation using Bind

Hi All

When you are administrating the Bind you may come across to host a sub domain delegated to another DNS server from a different provider.These requests are usually from the Web Hosting Provider which helps them to modify the required records on their own using their Name Server.

In this scenario   open the zone file in for eg:-  test.com and add the following lines ( Adding Sub domain “sample.test.com”)

;Sub Doman delegation for the domain  sample.test.com

$ORIGIN sample.test.com.

@     NS       ns1.webhost.com. (Other DNS Severs  , you could add multiple lines of DNS servers)

NS       ns2.webhost.com.

Regards

 

 

January 28, 2013 at 12:43 pm Leave a comment

How to force the DNS Propogation by changing the TTL Values

Hi

I am writing this tip for DNS Administrators who wants to speed up porpogation changes by playing with TTL (Time to live) values For Eg:-

Assuming that you are changing the IP Address of http://www.test.com by default the Bind (Linux based DNS Server) the TTL Value is set for 7200 which is 2 hours as a global parameter.which will control the expiry time / refressh interval for your DNS records in other DNS servers cache .

Therefore if you want to change the TTL value only for the http://www.test.com as 5 minutes you could edit the ZONE file as follows

$ORIGIN test.com
www 300 A 1.1.1.1(Replace it with your Actual IP Address)

(here 300 denotes 5 Minutes )and restart the named services.

Same concept is applicable for the Windows based DNS Servers as well//

January 19, 2013 at 2:04 pm Leave a comment


Archives

Categories

Follow Hope you like it.. on WordPress.com

Blog Stats

  • 26,445 hits

%d bloggers like this: