[cs615asa] (no subject)
Jan Schaumann
jschauma at cs.stevens.edu
Sun Mar 22 16:06:23 EDT 2009
Ujwal Dilip Trivedi <utrivedi at stevens.edu> wrote:
> Hi,
>
> Some of the fields in DNS zone file are
> A 75.126.233.107
> A 75.126.233.108
> A 75.126.233.109
> A 75.126.233.110
>
> AND
>
> ;dns3.ad IN A 194.158.64.9
> ;dns4.ad IN A 194.158.64.10
>
>
> What should be the output of the script..should it be No output for
> the fields for
>
> A 75.126.233.110
No, for these lines you'd have to output the hostname of the previous
line. That is, a hostname can have multiple A (or AAAA) records, and
records need not be on the same line as the hostname.
foo.bar A 75.126.233.107
A 75.126.233.108
A 75.126.233.109
and
foo.bar MX 75.126.233.1
A 75.126.233.107
A 75.126.233.108
A 75.126.233.109
would both yield
foo.bar 75.126.233.107
foo.bar 75.126.233.108
foo.bar 75.126.233.109
> and
>
> dns4.ad 194.158.64.10
>
> for
>
> ;dns4.ad IN A 194.158.64.10
';' is a comment characters in the zone file. That is, anything
following a ';' is ignored, so there should be no output for this
hostname.
-Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : https://lists.stevens.edu/cgi-bin/mailman/private/cs615asa/attachments/20090322/3896653a/attachment.pgp
More information about the Cs615asa
mailing list