Sponsored Content
Full Discussion: A records
Top Forums UNIX for Dummies Questions & Answers A records Post 7344 by Perderabo on Tuesday 25th of September 2001 11:17:13 AM
Old 09-25-2001
"Where do I go?" is not a very specific question. If you mean which computer, it's your primary dns server.

Add remember to add PTR records along with the A records.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Records

Hello there, I am having a script file running on unix solaris server, this script file is designed to calculate the records of a chosen day. The output will be saved to another file in the form of two columns, as an example, the output may look like: Account Name Records Account1 ... (3 Replies)
Discussion started by: charbel
3 Replies

2. Shell Programming and Scripting

Count No of Records in File without counting Header and Trailer Records

I have a flat file and need to count no of records in the file less the header and the trailer record. I would appreciate any and all asistance Thanks Hadi Lalani (2 Replies)
Discussion started by: guiguy
2 Replies

3. UNIX for Dummies Questions & Answers

Use records from one file to delete records in another file

file_in_1: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 file_in_2: 9 10 11 12 21 22 23 24 1 2 3 4 17 18 19 20 file_out: (5 Replies)
Discussion started by: kenneth.mcbride
5 Replies

4. Shell Programming and Scripting

Based on num of records in file1 need to check records in file2 to set some condns

Hi All, I have two files say file1 and file2. I want to check the number of records in file1 and if its atleast 2 (i.e., 2 or greater than 2 ) then I have to check records in file2 .If records in file2 is atleast 1 (i.e. if its not empty ) i have to set some conditions . Could you pls... (3 Replies)
Discussion started by: mavesum
3 Replies

5. UNIX for Dummies Questions & Answers

How to get certain records

Hi.. I am new to Unix and trying to learn. I have a small doubt like if we can use logical operators in searching. My problem is I have a file which has name , roll no and percentage and I need to get the records of the students whose percentage is below certain value and then sort them by... (5 Replies)
Discussion started by: indiragandham
5 Replies

6. UNIX for Dummies Questions & Answers

Grep specific records from a file of records that are separated by an empty line

Hi everyone. I am a newbie to Linux stuff. I have this kind of problem which couldn't solve alone. I have a text file with records separated by empty lines like this: ID: 20 Name: X Age: 19 ID: 21 Name: Z ID: 22 Email: xxx@yahoo.com Name: Y Age: 19 I want to grep records that... (4 Replies)
Discussion started by: Atrisa
4 Replies

7. Shell Programming and Scripting

Split records into multiple records

Hi All, I am trying to split a record into multiple records based on a value. Input.txt "A",1,0,10 "B",2,0,10,15,20 "C",3,11,14,16,19,21,23 "D",1,0,5 My desired output is: "A",1,0,10 "B",2,0,10 "B",2,15,20 "C",3,11,14 "C",3,16,19 "C",3,21,23 (4 Replies)
Discussion started by: kmsekhar
4 Replies

8. Shell Programming and Scripting

Deleting duplicate records from file 1 if records from file 2 match

I have 2 files "File 1" is delimited by ";" and "File 2" is delimited by "|". File 1 below (3 record shown): Doc1;03/01/2012;New York;6 Main Street;Mr. Smith 1;Mr. Jones Doc2;03/01/2012;Syracuse;876 Broadway;John Davis;Barbara Lull Doc3;03/01/2012;Buffalo;779 Old Windy Road;Charles... (2 Replies)
Discussion started by: vestport
2 Replies

9. Shell Programming and Scripting

Compare two files with different number of records and output only the Extra records from file1

Hi Freinds , I have 2 files . File 1 |nag|HYd|1|Che |esw|Gun|2|hyd |pra|bhe|3|hyd |omu|hei|4|bnsj |uer|oeri|5|uery File 2 |nag|HYd|1|Che |esw|Gun|2|hyd |uer|oi|3|uery output : (9 Replies)
Discussion started by: i150371485
9 Replies

10. Shell Programming and Scripting

Separate records of a file on 2 types of records

Hi I am new to shell programming in unix Please if I can provide help. I have a file structure of a header record and "N" detail records. The header record will be the total number of detail records I need to split the file in 2: One for the header Another for all detail records Could... (1 Reply)
Discussion started by: jamcogar
1 Replies
nslint(8)						      System Manager's Manual							 nslint(8)

NAME
nslint - perform consistency checks on dns files SYNOPSIS
nslint [ -d ] [ -c named.conf ] [ -C nslint.conf ] nslint [ -d ] [ -b named.boot ] [ -B nslint.boot ] DESCRIPTION
Nslint reads the nameserver configuration files and performs a number of consistency checks on the dns records. If any problems are discov- ered, error messages are displayed on stderr and nslint exits with a non-zero status. Here is a partial list of errors nslint detects: Records that are malformed. Names that contain dots but are missing a trailing dot. PTR records with names that are missing a trailing dot. Names that contain illegal characters (rfc1034). A records without matching PTR records PTR records without matching A records Names with more than one address on the same subnet. Addresses in use by more than one name. Names with CNAME and other records (rfc1033). Unknown service and/or protocol keywords in WKS records. Missing semicolons and quotes. OPTIONS
-b Specify an alternate named.boot file. The default is /etc/named.boot. -c Specify an alternate named.conf file. The default is /etc/named.conf. -B Specify an alternate nslint.boot file. The default is nslint.boot in the last directory line processed in named.boot (or the current working directory). This file is processed like a second named.boot. The most common use is to tell nslint about A records that match PTR records that point outside the domains listed in named.boot. -C Specify an alternate nslint.conf file. The default is nslint.conf in the last directory line processed in named.conf (or the current working directory). This file is processed like a second named.conf. -d Raise the debugging level. Debugging information is displayed on stdout. Nslint knows how to read BIND 8 and 9's named.conf configuration file and also older BIND's named.boot file. If both files exist, nslint will prefer named.conf (on the theory that you forgot to delete named.boot when you upgraded BIND). ADVANCED CONFIGURATION
There are some cases where it is necessary to use the advanced configuration features of nslint. Advanced configuration is done with the nslint.conf file. (You can also use nslint.boot which has a syntax similar to named.boot but is not described here.) The most common is when a site has a demilitarized zone (DMZ). The problem here is that the DMZ network will have PTR records for hosts outside its domain. For example lets say we have 128.0.rev with: 1.1 604800 in ptr gateway.lbl.gov. 2.1 604800 in ptr gateway.es.net. Obviously we will define an A record for gateway.lbl.gov pointing to 128.0.1.1 but we will get errors because there is no A record defined for gateway.es.net. The solution is to create a nslint.conf file (in the same directory as the other dns files) with: zone "es.net" { type master; file "nslint.es.net"; }; And then create the file nslint.es.net with: gateway 1 in a 128.0.1.2 Another problem occurs when there is a CNAME that points to a host outside the local domains. Let's say we have info.lbl.gov pointing to larry.es.net: info 604800 in cname larry.es.net. In this case we would need: zone "es.net" { type master; file "nslint.es.net"; }; in nslint.boot and: larry 1 in txt "place holder" nslint.es.net. One last problem when a pseudo host is setup to allow two more more actual hosts provide a service. For, let's say that lbl.gov contains: server 604800 in a 128.0.6.6 server 604800 in a 128.0.6.94 ; tom 604800 in a 128.0.6.6 tom 604800 in mx 0 lbl.gov. ; jerry 604800 in a 128.0.6.94 jerry 604800 in mx 0 lbl.gov. In this case nslint would complain about missing PTR records and ip addresses in use by more than one host. To suppress these warnings, add you would the lines: zone "lbl.gov" { type master; file "nslint.lbl.gov"; }; zone "0.128.in-addr.arpa" { type master; file "nslint.128.0.rev"; }; to nslint.conf and create nslint.lbl.gov with: server 1 in allowdupa 128.0.6.6 server 1 in allowdupa 128.0.6.94 and create nslint.128.0.rev with: 6.6 604800 in ptr server.lbl.gov. 94.6 604800 in ptr server.lbl.gov. In this example, the allowdupa keyword tells nslint that it's ok for 128.0.6.6 and 128.0.6.94 to be shared by server.lbl.gov, tom.lbl.gov, and jerry.lbl.gov. Another nslint feature helps detect hosts that have mistakenly had two ip addresses assigned on the same subnet. This can happen when two different people request an ip address for the same hostname or when someone forgets an address has been assigned and requests a new num- ber. To detect such A records, add a nslint section to your nslint.conf containing something similar to: nslint { network "128.0.6/22"; }; or: nslint { network "128.0.6 255.255.252.0"; }; These two examples are are equivalent ways of saying the same thing; that subnet 128.0.6 has a 22 bit wide subnet mask. Using information from the above network statement, nslint would would flag the following A records as being in error: server 1 in a 128.0.6.48 server 1 in a 128.0.7.16 Note that if you specify any network lines in your nslint.conf file, nslint requires you to include lines for all networks; otherwise you might forget to add network lines for new networks. Sometimes you have a zone that nslint just can't deal with. A good example is a dynamic dns zone. To handle this, you can add the following to nslint.com: nslint { ignorezone "dhcp.lbl.gov"; }; This will suppress "name referenced without other records" warnings. FILES
/etc/named.conf - default named configuration file /etc/named.boot - old style named configuration file nslint.conf - default nslint configuration file nslint.boot - old style nslint configuration file SEE ALSO
named(8), rfc1033, rfc1034 AUTHOR
Craig Leres of the Lawrence Berkeley National Laboratory, University of California, Berkeley, CA. The current version is available via anonymous ftp: ftp://ftp.ee.lbl.gov/nslint.tar.gz BUGS
Please send bug reports to nslint@ee.lbl.gov. Not everyone is guaranteed to agree with all the checks done. 4th Berkeley Distribution 2 May 2002 nslint(8)
All times are GMT -4. The time now is 02:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy