05-03-2006
It just sounds like you've missed a simple step in telling RED HAT where to get its information from. Where is the Nameserver located at?
Last edited by Itsaboutme; 05-03-2006 at 03:42 PM..
10 More Discussions You Might Find Interesting
1. Solaris
I'm running Solaris 9 and I need my box to request it's DNS servers off a DHCP server - can I do this? (1 Reply)
Discussion started by: Jdogg
1 Replies
2. UNIX for Advanced & Expert Users
Just recently we have been having some dns issues. Some websites won't work i.e. (www.msn.com, aimexpress.aim.com...) I have manually put A records in my named.db file and in the hosts file to try to get it to work but still they do not work. I have looked up updating my named.ca file for the... (1 Reply)
Discussion started by: rickyt00
1 Replies
3. UNIX for Dummies Questions & Answers
I have a installed Redhat Linux v5 on a new HP Pavillon PC. It has a dual boot with Vista. Booting from Vista, I can connect to the internet. However with Redhat I cannot connect to the internet.
I looked at the /etc/resolv.conf file in Redhat and there is no DNS entry there. From where do I... (28 Replies)
Discussion started by: AnilAnand
28 Replies
4. IP Networking
Hi Chaps and Chappettes,
I've had a short period of time recently to learn and implement DNS cache-only in our organisation. Trouble is, according to my tcpdumps, the amount of traffic on port 53 has increased. This is of course the exact opposit of the desired effect. Would y'all mind looking... (2 Replies)
Discussion started by: danny.hudson
2 Replies
5. UNIX for Advanced & Expert Users
I'd like to get some opnions on choosing DNS server:
Windows DNS vs Linux BIND comparrsion:
1) managment, easy of use
2) Security
3) features
4) peformance
5) ??
I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies
6. Red Hat
Dear members,
I am trying to set up a simple DNS but the problem is that when I ping the name of the IP address in the Reverse file, it does not recognise it. My code are as follows:
Note that my IP address is 172.22.45.237.
In my /etc/named.conf file, I have added the following lines
... (10 Replies)
Discussion started by: shakshakshuk
10 Replies
7. IP Networking
Can someone help with a detail step-by-step oh how to configure DNS server on Linux Server.
-
I need to have 3 IP addresses map to a single hostname.
for clients
I'm a Linux rookie.
Thanks
Oscar (1 Reply)
Discussion started by: FrankOscar
1 Replies
8. Red Hat
hi all
i have installed Windows 7 first. then i installed linux on dual partations...
i am booting both of them through dual boot... but when i start linux its only working well with CUI, when i used commands like startx or changed the initd to 5 then its loading the GUI interface of RedHat... (9 Replies)
Discussion started by: Nikhil Dethe
9 Replies
9. IP Networking
Hi
Please can you help on this: the Net Admins decided to use DNS to resolve names, so this is preventing mail being delivered when using commands like date | mailx -s "test" abc.xyz@asdf.xx.yy.
What we were asked was to edit /etc/resolv.confand add 3 entries, in all servers (10 Replies)
Discussion started by: fretagi
10 Replies
10. Red Hat
I wish to install inotify-tools-3.20.1-2.4.x86_64.rpm on Linux and fire inotifywait command.
Initially i was looking for "inotify-tools-3.xx.tar.gz" as instructed here http://jensd.be/248/linux/use-inotify-tools-on-centos-7-or-rhel-7-to-watch-files-and-directories-for-events
I have... (9 Replies)
Discussion started by: mohtashims
9 Replies
LEARN ABOUT REDHAT
net::dns::nameserver
Net::DNS::Nameserver(3) User Contributed Perl Documentation Net::DNS::Nameserver(3)
NAME
Net::DNS::Nameserver - DNS server class
SYNOPSIS
"use Net::DNS::Nameserver;"
DESCRIPTION
Instances of the "Net::DNS::Nameserver" class represent simple DNS server objects. See "EXAMPLE" for an example.
METHODS
new
my $ns = Net::DNS::Nameserver->new(
LocalAddr => "10.1.2.3",
LocalPort => "5353",
ReplyHandler => &reply_handler,
Verbose => 1
);
Creates a nameserver object. Attributes are:
LocalAddr IP address on which to listen. Defaults to INADDR_ANY.
LocalPort Port on which to listen. Defaults to 53.
ReplyHandler Reference to reply-handling subroutine. Required.
Verbose Print info about received queries. Defaults to 0 (off).
The ReplyHandler subroutine is passed the query name, query class, and query type. It must return the response code and references to
the answer, authority, and additional sections of the response. Common response codes are:
NOERROR No error
FORMERR Format error
SERVFAIL Server failure
NXDOMAIN Non-existent domain (name doesn't exist)
NOTIMP Not implemented
REFUSED Query refused
See RFC 1035 and the IANA dns-parameters file for more information:
ftp://ftp.rfc-editor.org/in-notes/rfc1035.txt
http://www.isi.edu/in-notes/iana/assignments/dns-parameters
The nameserver will listen for both UDP and TCP connections. On Unix-like systems, the program will probably have to run as root to listen
on the default port, 53. A non-privileged user should be able to listen on ports 1024 and higher.
Returns a Net::DNS::Nameserver object, or undef if the object couldn't be created.
See "EXAMPLE" for an example.
main_loop
$ns->main_loop;
Start accepting queries.
EXAMPLE
The following example will listen on port 5353 and respond to all queries for A records with the IP address 10.1.2.3. All other queries
will be answered with NXDOMAIN. Authority and additional sections are left empty.
#!/usr/bin/perl -Tw
use Net::DNS;
use strict;
sub reply_handler {
my ($qname, $qclass, $qtype) = @_;
my ($rcode, @ans, @auth, @add);
if ($qtype eq "A") {
my ($ttl, $rdata) = (3600, "10.1.2.3");
push @ans, Net::DNS::RR->new("$qname $ttl $qclass $qtype $rdata");
$rcode = "NOERROR";
}
else {
$rcode = "NXDOMAIN";
}
return ($rcode, @ans, @auth, @add);
}
my $ns = Net::DNS::Nameserver->new(
LocalPort => 5353,
ReplyHandler => &reply_handler,
Verbose => 1
);
if ($ns) {
$ns->main_loop;
}
else {
die "couldn't create nameserver object
";
}
BUGS
Net::DNS::Nameserver objects can handle only one query at a time.
COPYRIGHT
Copyright (c) 2000-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.
SEE ALSO
perl(1), Net::DNS, Net::DNS::Resolver, Net::DNS::Packet, Net::DNS::Update, Net::DNS::Header, Net::DNS::Question, Net::DNS::RR, RFC 1035
perl v5.8.0 2002-05-31 Net::DNS::Nameserver(3)