02-25-2009
I think you will need to compile sendmail.cf using this feature
FEATURE(`nocanonify')
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Originally I had the server at home and on Comcast so I used dyndns.org for DNS.
Once the server got a bit more popular, I leased a server at a colo facility. They set up the server name in their DNS so I didn't really have any reason to manage my own DNS. DynDNS was managing the domains and I... (7 Replies)
Discussion started by: BOFH
7 Replies
2. Solaris
As i understand, host/nslookup/dig only query DNS server to resolve name to ip.
ping can query both, but it seems if ping is blocked, ping won't return IP.
traceroute can query both, but i am not able to test if traceroute is blocked, What is the result?
Neither ping/traceroute is... (3 Replies)
Discussion started by: honglus
3 Replies
3. Solaris
Hello Guruz,
There is a mailserver with IPrange, i could able to resolve it through DNS,
nslookup <IP>
Its resolving.
But not pinging, port 25 is open for mailserver IP.
But when i am sending mail, i am geting the below error :(
dsn=x.x.x, stat=Host unknown (Name server:... (2 Replies)
Discussion started by: bullz26
2 Replies
4. Programming
Hi there,
I'm trying to do an MX type lookup using getaddrinfo(), but I can't work out how to change the lookup type to MX from the standard A - can anybody tell me how to do this?
Thanks very much
John G (3 Replies)
Discussion started by: JohnGraham
3 Replies
5. Solaris
I am facing typical problem with apache as proxy. my solaris box was running with apache1.3, due to security issue i have updated to apache 2.2. I don't have any DNS set up onmy network. I was able to connect to internet apache 1.3 working as proxy server. http and https are working fine. when... (3 Replies)
Discussion started by: sns_sns
3 Replies
6. IP Networking
Is there a command that can lookup ip address, subnet mask, gateway, and dns all at the same. I know ifconfig can lookup ip address and subnet mask. I know route -n can lookup gateway. Not sure about a dns command. So I hope there is a way to lookup ip address, subnet mask, gateway, and dns all at... (2 Replies)
Discussion started by: cokedude
2 Replies
7. IP Networking
The following thread is closed: 133552-howto-linux-multihomed-dns-client (Sorry I am not allowed to post URLs)
Therefore I write this append in an own thread.
The HOWTO in the referenced thread helped me a lot and I only want to append how to make reverse lookup working for a local zone:
... (0 Replies)
Discussion started by: scheruga
0 Replies
8. Red Hat
Hi guys. Ok so let me lay out my configs. I can do a NSlookup from client to server BUT NOT a reverse lookup.
DNS server: Optimus.jaydomain.com
IP : 192.168.1.50
DNS Client: Megatron.jaydomain.com
IP : 192.168.1.60
On Sever:
# cat /etc/named.conf
//
// named.conf
//
// Provided... (4 Replies)
Discussion started by: Junaid Subhani
4 Replies
9. What is on Your Mind?
Hi.
Having a bit of quick fun putting some networking tools online.
Here is a DNS Lookup tool.
It's basically the DIG command line tool wrapped in forum formatting.
If you want more features, please post here.
I'm doing to make a few more network tools like this and move on to other... (1 Reply)
Discussion started by: Neo
1 Replies
10. UNIX for Beginners Questions & Answers
Hi
I have a problem in sendmail Freebsd when sending emails to yahoo as an example, I get:
Sep 5 10:05:43 local50 sm-mta: STARTTLS=client, error: connect failed=-1, SSL_error=1, errno=0, retry=-1
Sep 5 10:05:43 local50 sm-mta: STARTTLS=client: 43926:error:1407742E:SSL... (3 Replies)
Discussion started by: rickyarge92
3 Replies
feature(3pm) Perl Programmers Reference Guide feature(3pm)
NAME
feature - Perl pragma to enable new features
SYNOPSIS
use feature qw(switch say);
given ($foo) {
when(1) { say "$foo == 1" }
when ([2,3]) { say "$foo == 2 || $foo == 3" }
when (/^a[bc]d$/) { say "$foo eq 'abd' || $foo eq 'acd'" }
when ($_ > 100) { say "$foo > 100" }
default { say "None of the above" }
}
use feature ':5.10'; # loads all features available in perl 5.10
DESCRIPTION
It is usually impossible to add new syntax to Perl without breaking some existing programs. This pragma provides a way to minimize that
risk. New syntactic constructs, or new semantic meanings to older constructs, can be enabled by "use feature 'foo'", and will be parsed
only when the appropriate feature pragma is in scope.
Lexical effect
Like other pragmas ("use strict", for example), features have a lexical effect. "use feature qw(foo)" will only make the feature "foo"
available from that point to the end of the enclosing block.
{
use feature 'say';
say "say is available here";
}
print "But not here.
";
"no feature"
Features can also be turned off by using "no feature "foo"". This too has lexical effect.
use feature 'say';
say "say is available here";
{
no feature 'say';
print "But not here.
";
}
say "Yet it is here.";
"no feature" with no features specified will turn off all features.
The 'switch' feature
"use feature 'switch'" tells the compiler to enable the Perl 6 given/when construct.
See "Switch statements" in perlsyn for details.
The 'say' feature
"use feature 'say'" tells the compiler to enable the Perl 6 "say" function.
See "say" in perlfunc for details.
the 'state' feature
"use feature 'state'" tells the compiler to enable "state" variables.
See "Persistent Private Variables" in perlsub for details.
the 'unicode_strings' feature
"use feature 'unicode_strings'" tells the compiler to treat all strings outside of "use locale" and "use bytes" as Unicode. It is available
starting with Perl 5.11.3.
See "The "Unicode Bug"" in perlunicode for details.
FEATURE BUNDLES
It's possible to load a whole slew of features in one go, using a feature bundle. The name of a feature bundle is prefixed with a colon, to
distinguish it from an actual feature. At present, the only feature bundle is "use feature ":5.10"" which is equivalent to "use feature
qw(switch say state)".
Specifying sub-versions such as the 0 in 5.10.0 in feature bundles has no effect: feature bundles are guaranteed to be the same for all
sub-versions.
IMPLICIT LOADING
There are two ways to load the "feature" pragma implicitly :
o By using the "-E" switch on the command-line instead of "-e". It enables all available features in the main compilation unit (that is,
the one-liner.)
o By requiring explicitly a minimal Perl version number for your program, with the "use VERSION" construct, and when the version is
higher than or equal to 5.10.0. That is,
use 5.10.0;
will do an implicit
use feature ':5.10';
and so on. Note how the trailing sub-version is automatically stripped from the version.
But to avoid portability warnings (see "use" in perlfunc), you may prefer:
use 5.010;
with the same effect.
perl v5.12.1 2010-05-13 feature(3pm)