03-05-2012
Yes, but what platform, one DNS server.. Questions are not asked on a lark for mere curiosity -- the answer matters, you get different advice for different systems/daemons. you gave a barely minimal answer to one of these questions.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file with multiple records in it and want to create a single record by removing all the carriage returns, is there a sed command or another command that will easily allow this to happen.
current layout
813209A
813273C
812272B
expected result
813209A813273C812272B
previously I... (3 Replies)
Discussion started by: r1500
3 Replies
2. UNIX for Advanced & Expert Users
Hi,
I need to redirect internal internet requests to a auth client site siting on the gateway. Currently users that are authenticated to access the internet have there mac address listed in the FORWARD chain. All other users need to be redirected to a internal site for authentication.
Can... (1 Reply)
Discussion started by: mshindo
1 Replies
3. UNIX for Dummies Questions & Answers
I now know that I have to configure dns mx to actually be able to send email correctly to my mail.
I have the link(user guide) on how to do this :
http://bobcares.com/blog/?p=29
but where do I configure it? Is there a specific file for the configuration? I really don't understand this part. (2 Replies)
Discussion started by: anaigini45
2 Replies
4. IP Networking
Hy guys, I've a problem configuring my Name Server (using bind 9) which is I'ts always necessary to put all slave Name Server for a zone in the zone resource record file or db (as you prefer)?
I've this scenario:
A - my domain which is son of some TLD and I delegated into two new domains B... (1 Reply)
Discussion started by: pharaoh
1 Replies
5. Red Hat
Hi,
I have a question on how to point the DNS server-1's A-record to second DNS server, which is DNS server-2. So, the computer can access other domain which only listed in the DNS server-2. The scenario is as follow:
http://img689.imageshack.us/img689/6333/12234.png
How to configure this... (4 Replies)
Discussion started by: Paris Heng
4 Replies
6. Red Hat
Hi,
I have recently built a new DNS server and created a new zone.
I use an ESMTP server to handle mail and the new domain has been added to this.
I can send mail to gmail and other domain addresses but unable to send it to one particular domain. (DSN:Service Unavailable)
DNS... (2 Replies)
Discussion started by: Duffs22
2 Replies
7. Linux
Hi Team
I have created one new dns server in lab and its working properly.
Earlier we were using another dns server for lab pc's as 10.20.30.xx. which is outside the lab premises.
now issue with newly created as its not resolving query as previous. I am told by some to use forwarder option for... (2 Replies)
Discussion started by: boby.kumar
2 Replies
8. UNIX for Dummies Questions & Answers
We're moving an app from a server in our domain to a server hosted by the vendor in their domain.
This app had it's own domain setup that we're authoritative for.
Do I need to create a new zone file? zone-vendor_com and set up the CNAME records in this file? Or if I can just edit the one I... (1 Reply)
Discussion started by: joeaverage
1 Replies
9. UNIX for Dummies Questions & Answers
Hi
I have a DNS server running on Solaris 5.10, I need to update ip address of two urls defined on our dns server how do i do that?
and do i need to restart dns/named service after? how do i restart the service?
Thanks (4 Replies)
Discussion started by: arocker
4 Replies
10. AIX
Hello guys,
I am new to AIX .
I have two AIX v5.3 servers running BIND DNS service on them. The plan is to shut down only the DNS service on them, but in order to do that I have to determine which internal hosts are still using the servers to resolve DNS queries.
Can you please advice on... (2 Replies)
Discussion started by: tihomirvs
2 Replies
LEARN ABOUT REDHAT
net::dns::rr
Net::DNS::RR(3) User Contributed Perl Documentation Net::DNS::RR(3)
NAME
Net::DNS::RR - DNS Resource Record class
SYNOPSIS
"use Net::DNS::RR"
DESCRIPTION
"Net::DNS::RR" is the base class for DNS Resource Record (RR) objects. See also the manual pages for each RR type.
METHODS
WARNING!!! Don't assume the RR objects you receive from a query are of a particular type -- always check an object's type before calling
any of its methods. If you call an unknown method, you'll get a nasty warning message and "Net::DNS::RR" will return "undef" to the call-
er.
new (from string)
$a = Net::DNS::RR->new("foo.example.com. 86400 A 10.1.2.3");
$mx = Net::DNS::RR->new("example.com. 7200 MX 10 mailhost.example.com.");
$cname = Net::DNS::RR->new("www.example.com 300 IN CNAME www1.example.com");
$txt = Net::DNS::RR->new("baz.example.com 3600 HS TXT 'text record'");
Returns a "Net::DNS::RR" object of the appropriate type and initialized from the string passed by the user. The format of the string is
that used in zone files, and is compatible with the string returned by "Net::DNS::RR"->"string".
The name and RR type are required; all other information is optional. If omitted, the TTL defaults to 0 and the RR class defaults to IN.
Omitting the optional fields is useful for creating the empty RDATA sections required for certain dynamic update operations. See the
"Net::DNS::Update" manual page for additional examples.
All names must be fully qualified. The trailing dot (.) is optional.
new (from hash)
$rr = Net::DNS::RR->new(
Name => "foo.example.com",
TTL => 86400,
Class => "IN",
Type => "A",
Address => "10.1.2.3",
);
$rr = Net::DNS::RR->new(
Name => "foo.example.com",
Type => "A",
);
Returns an RR object of the appropriate type, or a "Net::DNS::RR" object if the type isn't implemented. See the manual pages for each RR
type to see what fields the type requires.
The "Name" and "Type" fields are required; all others are optional. If omitted, "TTL" defaults to 0 and "Class" defaults to IN. Omitting
the optional fields is useful for creating the empty RDATA sections required for certain dynamic update operations.
The fields are case-insensitive, but starting each with uppercase is recommended.
print
$rr->print;
Prints the record to the standard output. Calls the string method to get the RR's string representation.
string
print $rr->string, "
";
Returns a string representation of the RR. Calls the rdatastr method to get the RR-specific data.
rdatastr
$s = $rr->rdatastr;
Returns a string containing RR-specific data. Subclasses will need to implement this method.
name
$name = $rr->name;
Returns the record's domain name.
type
$type = $rr->type;
Returns the record's type.
class
$class = $rr->class;
Returns the record's class.
ttl
$ttl = $rr->ttl;
Returns the record's time-to-live (TTL).
rdlength
$rdlength = $rr->rdlength;
Returns the length of the record's data section.
rdata
$rdata = $rr->rdata
Returns the record's data section as binary data.
BUGS
This version of "Net::DNS::RR" does little sanity checking on user-created RR objects.
COPYRIGHT
Copyright (c) 1997-2002 Michael Fuhr. All rights reserved. This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
EDNS0 extensions by Olaf Kolkman.
SEE ALSO
perl(1), Net::DNS, Net::DNS::Resolver, Net::DNS::Packet, Net::DNS::Update, Net::DNS::Header, Net::DNS::Question, RFC 1035 Section 4.1.3
perl v5.8.0 2002-10-14 Net::DNS::RR(3)