07-29-2013
(WHM) Primary Resolver and Nameserver confusion
Okay,
I know generally how the internet works but here I am confused. Every website that I've worked on prior to this had a vendor providing Nameserver services -Meaning that I just pointed my DNS to their server and they do the rest.
Now, I am confused by what the Primary Resolver is supposed to point to. I am supposed to use WHM as a private nameserver but then does the Primary resolver point to itself? That doesn't seem right. Do I have to set this up? Can I remove it?
Say for example I have a website named: FatUnixGuy.com and I have two fixed IP addresses reserved for this at 192.168.22.10 and 192.168.22.11
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
on a Red Hat server I am running name server (ns1.mynameserver.com , ns2.mynameserver.com) can anybody advice how to set my server so that it automatically forwards domains that have ns1.mynameserver.com , ns2.mynameserver.com as nameserver address to a specific url/page, without actually adding... (0 Replies)
Discussion started by: wanex
0 Replies
2. UNIX for Dummies Questions & Answers
Has anyone seen this message before?
I have a DNS problem. Recently DNS has been moved to two new servers, which I can ping. I changed the /etc/resolv.conf to point to these boxes but now I get the *** Can't initialize resolver message. Any ideas? (2 Replies)
Discussion started by: korfnz
2 Replies
3. UNIX and Linux Applications
Hi, i'm looking information about how BIND (Name Server & Resolver) works... And how Server/Client communicates...
I found a lot of information of what BIND is and how to configure it, but nothing about how it works, does anybody know where i can found something useful??
I don't need code, just... (3 Replies)
Discussion started by: Sandia_man
3 Replies
4. Red Hat
Hi all,
Does someone use this kind of config on /etc/resolv.conf?
search domain1.com domain2.com
nameserver 1.x.x.x
nameserver 2.x.x.x
nameserver 3.x.x.x
nameserver 4.x.x.x
Is that going to work properly?
I heard that only 3 lines are enabled on resolv.conf. Is that true?
Thanks! (1 Reply)
Discussion started by: itik
1 Replies
5. UNIX for Dummies Questions & Answers
Hi everybody
I am facing a little problem with names servers. I have a VPS with Kloxo installed on it
I have registered 2 name servers (i.e. ns1.domain.com and ns2.domain.com) past one month.
These nameservers are not accessible yet. I have check the nameserver on internic site and they are... (3 Replies)
Discussion started by: rizwan65
3 Replies
6. HP-UX
Hello,
i change the nameserver in the resolv.conf file and want to test the new settings.
On Linux i can call nslookup and it shows the nameserver which is used:
># nslookup www.unix.com
Server: XXX.XXX.XXX.XXX
Address: XXX.XXX.XXX.XXX#53
Non-authoritative answer:... (3 Replies)
Discussion started by: soeren1176
3 Replies
7. Shell Programming and Scripting
Hello,
i am trying to rename a folder named 'cpbackup' to current date in our WHM Root via setting up a cronetab entry. but the folder does not get renamed on the scheduled time :confused:
*/1 * * * * timestamp=$(date +%m%d%Y);/bin/mv /ac_backups/cpbackup /ac_backups/$timestamp (4 Replies)
Discussion started by: kandyjet
4 Replies
8. IP Networking
Hello,
since a while, i have a very strange and frustrating network problem with my Huawei p6(Android 4.4.2). The ROM is "Omni Rom", i think - but it shouldn't matter.
The problem is: when i try to connect through wlan (i have no mobile internet), according to the network manager of android,... (1 Reply)
Discussion started by: Palindrom
1 Replies
9. UNIX for Beginners Questions & Answers
Can you add multiple domains to a nameserver without creating a new IP address? I have one IP address on my machine and have configured forward and reverse zone files. Names are resolving fine.
I know I can add another domain to the named.conf file and create new forward and reverse files. what... (2 Replies)
Discussion started by: LinuxGirl
2 Replies
LEARN ABOUT DEBIAN
mail::spamassassin::dnsresolver
Mail::SpamAssassin::DnsResolver(3pm) User Contributed Perl Documentation Mail::SpamAssassin::DnsResolver(3pm)
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.14.2 2011-06-06 Mail::SpamAssassin::DnsResolver(3pm)