Example FilesBelow is a partial explanation of some records in the database on a Linux based system. The reader should view this information because it explains some important DNS settings that are common to all DNS servers. An example /var/named/db.mycompany.com.hosts file is listed below.mycompany.com. IN SOA mymachine.mycompany.com. root.mymachine.mycompany.com. ( 1999112701 ; Serial number as date and two digit number YYMMDDXX 10800 ; Refresh in seconds 28800=8H 3600 ; Retry in seconds 7200=2H 604800 ; Expire 3600000=1 week 86400 ) ; Minimum TTL 86400=24Hours mycompany.com. IN NS mymachine.mycompany.com. mycompany.com. IN MX 10 mailmachine.mycompany.com. mymachine.mycompany.com. IN A 10.1.0.100 mailmachine.mycompany.com. IN A 10.1.0.4 george.mycompany.com. IN A 10.1.3.16A Line by line description is as follows:
Aliases are specified in lines like the following: mymachine.mycompany.com IN CNAME nameserver.mycompany.com. george.mycompany.com IN CNAME dataserver.mycompany.com. Linux1.mycompany.com IN CNAME engserver.mycompany.com. Linux2.mycompany.com IN CNAME mailserver.mycompany.com.When a client (resolver) sends a request, if the nameserver finds a CNAME record, it replaces the requested name with the CNAME, then finds the address of the CNAME value, and return this value to the client. A host that has more than one network card which is set to address two different subnets can have more than one address for a name. mymachine.mycompany.com IN A 10.1.0.100 IN A 10.1.1.100When a client queries the nameserver for the address of a multi homed host, the nameserver will return the address that is closest to the client address. If the client is on a different network than both the subnet addresses of the multi homed host, the server will return both addresses. For more information on practical application of DNS, read the DNS section of the Linux User's Guide.
Page 4
< Previous Read More
|
Blog Archive
-
►
2013
(5)
- ► 11/24 - 12/01 (2)
- ► 09/15 - 09/22 (1)
- ► 05/26 - 06/02 (2)
-
►
2012
(6)
- ► 03/04 - 03/11 (1)
- ► 02/12 - 02/19 (3)
- ► 02/05 - 02/12 (1)
- ► 01/29 - 02/05 (1)
-
▼
2011
(76)
- ► 12/04 - 12/11 (1)
- ► 11/20 - 11/27 (2)
- ► 11/13 - 11/20 (1)
- ► 11/06 - 11/13 (4)
- ► 10/30 - 11/06 (5)
- ► 10/23 - 10/30 (2)
- ► 10/16 - 10/23 (4)
- ► 10/09 - 10/16 (3)
- ► 05/22 - 05/29 (2)
- ► 05/01 - 05/08 (1)
- ► 03/20 - 03/27 (5)
- ▼ 03/06 - 03/13 (7)
- ► 02/20 - 02/27 (2)
- ► 02/13 - 02/20 (3)
- ► 02/06 - 02/13 (2)
- ► 01/30 - 02/06 (1)
- ► 01/23 - 01/30 (15)
- ► 01/16 - 01/23 (5)
- ► 01/09 - 01/16 (10)
- ► 01/02 - 01/09 (1)
-
►
2010
(111)
- ► 12/26 - 01/02 (4)
- ► 12/19 - 12/26 (4)
- ► 12/12 - 12/19 (23)
- ► 11/28 - 12/05 (3)
- ► 11/21 - 11/28 (15)
- ► 11/07 - 11/14 (3)
- ► 10/31 - 11/07 (7)
- ► 10/24 - 10/31 (4)
- ► 10/10 - 10/17 (3)
- ► 10/03 - 10/10 (2)
- ► 09/26 - 10/03 (2)
- ► 09/05 - 09/12 (1)
- ► 08/29 - 09/05 (1)
- ► 08/22 - 08/29 (1)
- ► 08/15 - 08/22 (2)
- ► 08/08 - 08/15 (3)
- ► 08/01 - 08/08 (6)
- ► 07/25 - 08/01 (25)
- ► 07/11 - 07/18 (2)
Subscribe Now: standardSmall
Subscribe via email
Subscribe via email
Total Pageviews
Saturday, March 12, 2011
DNS Files
Posted by
ajab
at
7:05 AM
Subscribe to:
Post Comments (Atom)
My Headlines
Enter Donation Amount:
My Other Blogs
- Crack Into IT
- ajabhtml
- codecademy
- MCSE PU
- PU MCSE
- w6school
- tags
- Music it 2
- greenapple
- Pashto Time
- 808tube
- Funny Donky
- How Things are Working?
- Blog vs Bloger
- Photography PPT
- maulanatariqjameel2011
- Open Sourse Hut
- softkil
- beautyhub2
- trailer8
- Positive Statement
- picpok
- 808games
- Free Online Earning in Pakistan
- Blogs Vs Blogs
- Question and Answer سوال جواب
- Insider Dazs
About Me
Hi there!
I'm Ajab Khan,29, Pakistani Citizen living at Lahore, Pakistan. Currently Working at University of the Punjab, Pakistan.Started blogging since July 14, 2010 I have several blogs and first article was about how to use your mobile as a webcam you can access that article here, I love to collect interesting data if you like to share with me you can contact me by email here is the id ajabbiz@yahoo.com
I'm Ajab Khan,29, Pakistani Citizen living at Lahore, Pakistan. Currently Working at University of the Punjab, Pakistan.Started blogging since July 14, 2010 I have several blogs and first article was about how to use your mobile as a webcam you can access that article here, I love to collect interesting data if you like to share with me you can contact me by email here is the id ajabbiz@yahoo.com
0 comments:
¿Te animas a decir algo?