10-18-2001
Thanks RWB for a nice comprehensive answer. And the link was very usefull.
Thanks again.
S.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
anyone know? would be greatly thankful. (4 Replies)
Discussion started by: shellnewbie
4 Replies
2. UNIX for Dummies Questions & Answers
Hi, I am curently running Windows. Don't laugh. Unix is a OS right? I am thinking about getting it but am not sure about geting Unix or Linux. I could use all the help I can get, Thanks! (6 Replies)
Discussion started by: DamienVryce
6 Replies
3. Programming
what is the command to print the text in a specifed location
eg
i have text ("i am here");
i have to print it on location 20,20
wat is the command and which header file it uses
i am currentlr working in solaris 5.8 using unix (1 Reply)
Discussion started by: ramneek
1 Replies
4. UNIX for Dummies Questions & Answers
What is the difference bettween linux and unix?
Sorry but I am really new to this! :confused:
Also are they BOTH free :-D (1 Reply)
Discussion started by: jamesthemagicia
1 Replies
5. UNIX for Dummies Questions & Answers
Also can unix be downloaded?
Thank you,
Nic (2 Replies)
Discussion started by: nicjr3
2 Replies
6. UNIX for Dummies Questions & Answers
Whats is the user of $ and # in UNIX ??? (2 Replies)
Discussion started by: Paynemax
2 Replies
7. UNIX for Dummies Questions & Answers
Hi whats the setenv command in unix..??
i have set the oracle_home path as aa.ii.1 in kron_settings and
mentioned setenv oracle_path as aa.ii.2 in user settings.
Does this make any changes made to the path name of the oracle_home when i run a scripts in unix..???:( (1 Reply)
Discussion started by: abhi_123
1 Replies
8. UNIX for Advanced & Expert Users
Hi everyone,
Just interested to know everyones opinions on the fastest unix compression utility with okejish compression (doesnt have to have awsome compression). I know of gzip bzip2 (sucks lol) and a couple of others but what is a great one for compression large amounts of data that wont eat... (8 Replies)
Discussion started by: aleks001
8 Replies
9. AIX
How could we derive teh Next month in MON-RR format from current date ie sysdate in UNI AIX sheel script.I coould get a command but i supports only inLinux susse andnotin AIX.
I need for Unix AIX.Pls Help.
Regards
Shiv (2 Replies)
Discussion started by: SHIV75
2 Replies
10. Programming
I am interested in learning Programming Language to complement my UNIX. What language should I concentrate on to enhance my UNIX. What companies are seeking with UNIX. What languages are used with UNIX as for as there application. Are there any one here from DC (6 Replies)
Discussion started by: zbest1966
6 Replies
LEARN ABOUT DEBIAN
net::dns::question
Net::DNS::Question(3pm) User Contributed Perl Documentation Net::DNS::Question(3pm)
NAME
Net::DNS::Question - DNS question class
SYNOPSIS
"use Net::DNS::Question"
DESCRIPTION
A "Net::DNS::Question" object represents a record in the question section of a DNS packet.
METHODS
new
$question = Net::DNS::Question->new("example.com", "MX", "IN");
Creates a question object from the domain, type, and class passed as arguments.
RFC4291 and RFC4632 IP address/prefix notation is supported for queries in in-addr.arpa and ip6.arpa subdomains.
parse
($question, $offset) = Net::DNS::Question->parse($data, $offset);
Parses a question section record at the specified location within a DNS packet. The first argument is a reference to the packet data. The
second argument is the offset within the packet where the question record begins.
Returns a Net::DNS::Question object and the offset of the next location in the packet.
Parsing is aborted if the question object cannot be created (e.g., corrupt or insufficient data).
qname, zname
print "qname = ", $question->qname, "
";
print "zname = ", $question->zname, "
";
Returns the domain name. In dynamic update packets, this field is known as "zname" and refers to the zone name.
qtype, ztype
print "qtype = ", $question->qtype, "
";
print "ztype = ", $question->ztype, "
";
Returns the record type. In dymamic update packets, this field is known as "ztype" and refers to the zone type (must be SOA).
qclass, zclass
print "qclass = ", $question->qclass, "
";
print "zclass = ", $question->zclass, "
";
Returns the record class. In dynamic update packets, this field is known as "zclass" and refers to the zone's class.
print
$question->print;
Prints the question record on the standard output.
string
print $qr->string, "
";
Returns a string representation of the question record.
data
$qdata = $question->data($packet, $offset);
Returns the question record in binary format suitable for inclusion in a DNS packet.
Arguments are a "Net::DNS::Packet" object and the offset within that packet's data where the "Net::DNS::Question" record is to be stored.
This information is necessary for using compressed domain names.
COPYRIGHT
Copyright (c) 1997-2002 Michael Fuhr.
Portions Copyright (c) 2002-2004 Chris Reinhardt.
Portions Copyright (c) 2003,2006-2009 Dick Franks.
All rights reserved.
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
perl(1), Net::DNS, Net::DNS::Resolver, Net::DNS::Packet, Net::DNS::Update, Net::DNS::Header, Net::DNS::RR, RFC 1035 Section 4.1.2
perl v5.14.2 2009-12-30 Net::DNS::Question(3pm)