Sponsored Content
Top Forums Shell Programming and Scripting need perl script to get a comprehend statistic of network activity in a LAN Post 302495703 by DukeNuke2 on Friday 11th of February 2011 02:03:15 AM
Old 02-11-2011
my only question is:

what was the intention of your first post?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

print a file on a network printer from one lan to another

Hi, I have 2 different lan, each with a pc an a network printer. I can access both lan using ssh. how do I print a file from the first lan to a network printer on the second one. Thanks in advance Philippe sorry it was suposed to go to the dummies forum (3 Replies)
Discussion started by: amazilia
3 Replies

2. SCO

master and slave in lan network

hello , i setup a lan network , but i don't know how configure master and slave in the lan network please help me:confused: (2 Replies)
Discussion started by: hossein
2 Replies

3. AIX

Monitoring the network activity happening in a port in AIX 5.3

Hi All, I would like to monitor the volume of Data that is transferred through a single port in AIX. I have nmon installed in my machine. What is the best possible solution for this problem. Thanks in Advance. (3 Replies)
Discussion started by: bravo13
3 Replies

4. IP Networking

how to identify network activity?

Hi there, I have a computer that is not a server. I mean it should have no network activity as it is meant to display videos and not to provide any ftp, web or whatever service. The probleme is that the computer actualy reports a constant network activity. How can I identify the processes that... (1 Reply)
Discussion started by: chebarbudo
1 Replies

5. Solaris

Network interface statistic reset

Hi, all! Can anybody tell me how can I reset network statistic, which could be seen by command 'netstat -i' or 'dladm show-dev -s'? Thank you for advance Christian (2 Replies)
Discussion started by: Inventor
2 Replies

6. Fedora

Network freezes/ Realtek RTL-8185 wireless lan controller

Hello all :confused: I am using a Realtek RTL-8185 wireless lan controller on my Dell dimension 4800 to try to connect to the internet. my distro is fedora 11. I go to enable wireless and my computer freezes, I have done some upgrading and building on the computer for a year now but I have... (1 Reply)
Discussion started by: schizolinux
1 Replies

7. Shell Programming and Scripting

perl - cgi script to read file from network

Hi, I have written a cgi perl script to read a file and display its contents. But if i have to access file located on network (local network), then i am unable to do so. However if i run script through shell it works, but through cgi script it generates no result. I have mapped network drive... (0 Replies)
Discussion started by: sarbjit
0 Replies

8. IP Networking

Illegal network activity

Hi, I have a wireless router connecting both windows and linux systems at home. I've discovered someone has been downloading illegal content on my network simply because they accidentally left the torrent downloader on their screen when showing me something. I removed their access for a few days... (1 Reply)
Discussion started by: neil999
1 Replies

9. IP Networking

Routing traffic problem between 3G and Office Lan Network

Hi, I would like to ask some networking solution regarding my work LAN and 3G usb network problem. I want to route my internet traffic to the 3G network and sometimes connect to some of my work network for ssh to configure some workstation or print something. Currently my problem is i can't... (0 Replies)
Discussion started by: jao_madn
0 Replies

10. Red Hat

Network activity log

I am having Red Hat Linux 5.9 installed in my server. There are 2 physical ethernet port in the server and these 2 ports are bonded to 1 bond0 port through linux bonding utility. For some days I am experiencing some fluctuation in server port. I want to analyze the same.How to do that? It may... (4 Replies)
Discussion started by: Anjan Ganguly
4 Replies
Net::DNS::Question(3)					User Contributed Perl Documentation				     Net::DNS::Question(3)

NAME
Net::DNS::Question - DNS question record SYNOPSIS
use Net::DNS::Question; $question = new Net::DNS::Question('example.com', 'A', 'IN'); DESCRIPTION
A Net::DNS::Question object represents a record in the question section of a DNS packet. METHODS
new $question = new Net::DNS::Question('example.com', 'A', 'IN'); $question = new Net::DNS::Question('example.com'); $question = new Net::DNS::Question('192.0.32.10', 'PTR', 'IN'); $question = new Net::DNS::Question('192.0.32.10'); Creates a question object from the domain, type, and class passed as arguments. One or both type and class arguments may be omitted and will assume the default values shown above. RFC4291 and RFC4632 IP address/prefix notation is supported for queries in both in-addr.arpa and ip6.arpa namespaces. decode $question = decode Net::DNS::Question($data, $offset); ($question, $offset) = decode Net::DNS::Question($data, $offset); Decodes the question record at the specified location within a DNS wire-format packet. The first argument is a reference to the buffer containing the packet data. The second argument is the offset of the start of the question record. Returns a Net::DNS::Question object and the offset of the next location in the packet. An exception is raised if the object cannot be created (e.g., corrupt or insufficient data). encode $data = $question->encode( $offset, $hash ); Returns the Net::DNS::Question in binary format suitable for inclusion in a DNS packet buffer. The optional arguments are the offset within the packet data where the Net::DNS::Question is to be stored and a reference to a hash table used to index compressed names within the packet. name $name = $question->name; Internationalised domain name corresponding to the qname attribute. Decoding non-ASCII domain names is computationally expensive and undesirable for names which are likely to be used to construct further queries. When required to communicate with humans, the 'proper' domain name should be extracted from a query or reply packet. $query = new Net::DNS::Packet( $example, 'ANY' ); $reply = $resolver->send($query) or die; ($question) = $reply->question; $name = $question->name; qname, zname $qname = $question->qname; $zname = $question->zname; Canonical ASCII domain name as required for the query subject transmitted to a nameserver. In dynamic update packets, this attribute is known as zname() and refers to the zone name. qtype, ztype $qtype = $question->qtype; $ztype = $question->ztype; Returns the question type attribute. In dynamic update packets, this attribute is known as ztype() and refers to the zone type. qclass, zclass $qclass = $question->qclass; $zclass = $question->zclass; Returns the question class attribute. In dynamic update packets, this attribute is known as zclass() and refers to the zone class. print $object->print; Prints the record to the standard output. Calls the string() method to get the string representation. string print "string = ", $question->string, " "; Returns a string representation of the question record. COPYRIGHT
Copyright (c)1997-2002 Michael Fuhr. Portions Copyright (c)2002-2004 Chris Reinhardt. Portions Copyright (c)2003,2006-2011 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, Net::DNS, Net::DNS::DomainName, Net::DNS::Packet, RFC 1035 Section 4.1.2 perl v5.16.3 2012-12-28 Net::DNS::Question(3)
All times are GMT -4. The time now is 01:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy