04-18-2013
How to configure DNS configuration for RHEL 5?
I wanted to know how to configure DNS configuration for RHEL 5.
I hope, my query is clear of how to setup DNS for RHEL 5.
Please revert with the reply to my query
Regards
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
My OS is sun solaris7,(sun sparc),i want connect inernet and my computer in my company intranet.After i configure proxy server,i still can't conncet internet.I guess whether the DNS is configured correctly.
who can help me???Thank you very much!!! (6 Replies)
Discussion started by: q30
6 Replies
2. IP Networking
I am running Solaris 2.6 Server on a Sparc 10 and I was wondering how I can manually specify a DNS server to resolve hostnames. Any help will be greatly appreciated.
And also I have created a file in the /etc dir named defaultrouter and added th IP address of my router, but when I ping another... (15 Replies)
Discussion started by: jskillet
15 Replies
3. Ubuntu
Hi guys
Can anyone assist me how to configure YUM in RHEL4.0.
and from where i can get the YUM package for RHEL4.0.
Thanks in advance (3 Replies)
Discussion started by: daya.pandit
3 Replies
4. Red Hat
Who can give me a document for configure nagios on RHEL 5,thanks . (1 Reply)
Discussion started by: zhengsenlin
1 Replies
5. Red Hat
Hi, how do I set the DNS in centos.
I don't mean of creating DNS server, but setting what should be the DNS server of centos.
I mean to what server he should go in order to translate url into ip (6 Replies)
Discussion started by: programAngel
6 Replies
6. Red Hat
hello,
I have installed RHEL 6.0 on my lappy in a separate partion with windows 7 on the hardware(not using VMWARE).Now kindly help me to active network configuration in that?????Is it require to have LINUX wireless drivers???? (1 Reply)
Discussion started by: dillipkmrpadhy
1 Replies
7. Red Hat
i am first time using RHEL 6.1
i have to configure vnc on this server to access desktop remotely for this server.
i installed these rpm :
rpm -ivh VNC-Server-5.0.3-Linux-x64.rpm
rpm -ivh VNC-Viewer-5.0.3-Linux-x64.rpm
there is no directory /etc/sysconfig/vncserver in RHEL 6 as it was... (6 Replies)
Discussion started by: rehantayyab82
6 Replies
8. Red Hat
Hi,
Can someone please help me configuring RIP (Routing Information Protocol v2 ). I have tried few manuals and posts from networking sites and i didnt get a clear picture.
This is what i have done:
1. Installed routed package and started routed service.
however, Dynamic routes are... (1 Reply)
Discussion started by: reddybs
1 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
cant configure dns in virtual box. im using rhel6.3. i have a cd containing rhel which the professor provided us.... (2 Replies)
Discussion started by: rpmacaspac
2 Replies
10. UNIX for Beginners Questions & Answers
I need to configure snmptrap on rhel 8 server and send trap to nimsoft for file system , memory and cpu load and network diconnection status.
please help me, if any one configured. (1 Reply)
Discussion started by: yash_message
1 Replies
LEARN ABOUT CENTOS
mail::spamassassin::dnsresolver
Mail::SpamAssassin::DnsResolver(3) User Contributed Perl Documentation Mail::SpamAssassin::DnsResolver(3)
NAME
Mail::SpamAssassin::DnsResolver - DNS resolution engine
DESCRIPTION
This is a DNS resolution engine for SpamAssassin, implemented in order to reduce file descriptor usage by Net::DNS and avoid a response
collision bug in that module.
METHODS
$res->load_resolver()
Load the "Net::DNS::Resolver" object. Returns 0 if Net::DNS cannot be used, 1 if it is available.
$resolver = $res->get_resolver()
Return the "Net::DNS::Resolver" object.
$res->nameservers()
Wrapper for Net::DNS::Resolver->nameservers to get or set list of nameservers
$res->connect_sock()
Re-connect to the first nameserver listed in "/etc/resolv.conf" or similar platform-dependent source, as provided by "Net::DNS".
$res->get_sock()
Return the "IO::Socket::INET" object used to communicate with the nameserver.
$packet = new_dns_packet ($host, $type, $class)
A wrapper for "Net::DNS::Packet::new()" which traps a die thrown by it.
To use this, change calls to "Net::DNS::Resolver::bgsend" from:
$res->bgsend($hostname, $type);
to:
$res->bgsend(Mail::SpamAssassin::DnsResolver::new_dns_packet($hostname, $type, $class));
$id = $res->bgsend($host, $type, $class, $cb)
Quite similar to "Net::DNS::Resolver::bgsend", except that when a response packet eventually arrives, and "poll_responses" is called,
the callback sub reference $cb will be called.
Note that $type and $class may be "undef", in which case they will default to "A" and "IN", respectively.
The callback sub will be called with three arguments -- the packet that was delivered, and an id string that fingerprints the query
packet and the expected reply. The third argument is a timestamp (Unix time, floating point), captured at the time the packet was
collected. It is expected that a closure callback be used, like so:
my $id = $self->{resolver}->bgsend($host, $type, undef, sub {
my ($reply, $reply_id, $timestamp) = @_;
$self->got_a_reply ($reply, $reply_id);
});
The callback can ignore the reply as an invalid packet sent to the listening port if the reply id does not match the return value from
bgsend.
$nfound = $res->poll_responses()
See if there are any "bgsend" response packets ready, and return the number of such packets delivered to their callbacks.
$res->bgabort()
Call this to release pending requests from memory, when aborting backgrounded requests, or when the scan is complete.
"Mail::SpamAssassin::PerMsgStatus::check" calls this before returning.
$packet = $res->send($name, $type, $class)
Emulates "Net::DNS::Resolver::send()".
$res->errorstring()
Little more than a stub for callers expecting this from "Net::DNS::Resolver".
If called immediately after a call to $res->send this will return "query timed out" if the $res->send DNS query timed out. Otherwise
"unknown error or no error" will be returned.
No other errors are reported.
$res->finish_socket()
Reset socket when done with it.
$res->finish()
Clean up for destruction.
perl v5.16.3 2011-06-06 Mail::SpamAssassin::DnsResolver(3)