10 More Discussions You Might Find Interesting
1. AIX
Hey Guy's,
Is there a limit on the number of forwards that can be used or the syntax and spaces?
I noticed I have to put spaces between ; and the IP for at least the first one, then space at the end to work and the rest don't work at all no matter what I try.
forward first;
... (1 Reply)
Discussion started by: Devyn
1 Replies
2. IP Networking
Hello everyone,
I have a some doubt about DNS. We have connected to 2 ISPs /ISP#1 and ISP#2/. Our web site's dns zone is located on ISP#1. If connection to ISP#1 is down clients won't find our website. ISP#1 connection went down few times this month.
So we are going to create our website's... (0 Replies)
Discussion started by: sembii
0 Replies
3. IP Networking
Okay, I have a question guys... I was given a task to set up a DNS slave server, in addition to our already set up BIND DNS master server. I looked over the one of the zone files, and found something curious. The starting SOA line, reads as:
@ IN SOA @ root ( ...etc...etc..)
I'm... (1 Reply)
Discussion started by: Lost in Cyberia
1 Replies
4. UNIX for Dummies Questions & Answers
I am trying to make a website work without having to type www. If I type www with the sitename it works. But if I type just the site name without the www, it does not work. How do I fix this? Thank you for your help (3 Replies)
Discussion started by: German Shepherd
3 Replies
5. UNIX for Dummies Questions & Answers
As suggested by the forum I'm posting in, I'm very new at this, so bear with me please.
I'm using a Virtual Dedicated server (Linux) from GoDaddy and using Simple Control Panel. A few days ago, the sites running off of it stopped working, and I did manage to troubleshoot it to some extent where... (1 Reply)
Discussion started by: KevenM
1 Replies
6. UNIX for Advanced & Expert Users
I am new to bind, but I have it installed and working, well I think. I am not getting any errors, but my question is. Lets say I have movie.com, and mov.com, with the same in-addr-arpa zone(10.10.0.0) Is this a problem? movie.com is our main zone and we are trying to get rid of clients that are... (7 Replies)
Discussion started by: rickyt00
7 Replies
7. IP Networking
I have set up a BIND server running on Redhat AS 3.0 and the question I have is that I can point my laptop to that server and resolve all the hosts I have put in my .zone file but for the life of me I can resolve any outside information. I have verified the server can talk to the world. Any hints... (2 Replies)
Discussion started by: Acleoma
2 Replies
8. IP Networking
I manage the mail server (mail.ourcompany.com) at my company. We provide mail services to a number of clients.
Today CompanyA calls in and reports that CompanyB tried to send them an email, but they never recieved it. According to CompanyB, the mail left there outbox.
The two addresses... (1 Reply)
Discussion started by: phaze1
1 Replies
9. UNIX for Dummies Questions & Answers
First some back ground info:
I am working on a computer running SuSE 7.3
I am still trying to set up a DNS
I downloaded BIND 9.2.1 and was following a tutorial about BIND. It said at virtually the start of the tutorial that I should find a file called named.conf in my /etc directory. Yes, I... (1 Reply)
Discussion started by: ignus7
1 Replies
10. UNIX for Dummies Questions & Answers
I have the primary set up, but cannot get the secondary box to answer a query. Here is the message I get:
> nslookup dfwnet1 10.26.38.41
*** Can't find server name for address 10.26.38.41: Non-existent host/domain
*** Default servers are not available
10.26.38.41 is the IP of the secondary... (3 Replies)
Discussion started by: 98_1LE
3 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)