sanjay nayak has asked for the wisdom of the Perl Monks concerning the following question:
$ID= 1; #2 octets $flags = 0; #(For Request value is 0)#2 octets $QDCOUNT=1; #2 octets $ANCOUNT=0;#2 octets $NSCOUNT=0;#2 octets $ARCOUNT=0;#2 octets $QNAME= "www.google.com";#16 octets $QTYPE=23; #(For NAPTR)#2 octets $QCLASS=1; #(For IN)#2 octet my $DNS_Request= "$ID$flags$QDCOUNT$ANCOUNT$NSCOUNT$ARCOUNT$QNAME$QTYP +E$QCLASS"; $MySocket->send($DNS_Request);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to create a DNS message in perl?
by ikegami (Patriarch) on Jul 29, 2008 at 08:23 UTC | |
by sanjay nayak (Sexton) on Jul 30, 2008 at 07:42 UTC | |
by ikegami (Patriarch) on Jul 30, 2008 at 09:11 UTC | |
by sanjay nayak (Sexton) on Jul 30, 2008 at 12:28 UTC | |
by ikegami (Patriarch) on Jul 30, 2008 at 20:11 UTC | |
| |
Re: How to create a DNS message in perl?
by moritz (Cardinal) on Jul 29, 2008 at 09:17 UTC | |
Re: How to create a DNS message in perl?
by busunsl (Vicar) on Jul 29, 2008 at 08:10 UTC | |
Re: How to create a DNS message in perl?
by broomduster (Priest) on Jul 29, 2008 at 08:53 UTC |