Re: Re: [PHP3] CheckDNSRR failing on a valid domain

From: Date: Tue, 24 Aug 1999 02:24:21 +0000
Subject: Re: Re: [PHP3] CheckDNSRR failing on a valid domain
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-10148@lists.php.net to get a copy of this message
Hello Jason, On 23-Aug-99 08:48:22, you wrote: >> Could that be broken? Should I ask the ISP to fix it or this is a >> tecnically legal situation? >I don't know enough about it to be able to say that it definitely needs >fixing, but I can say that it doesn't appear to be working properly for >all lookups. My guess is that the the DNS MX records are set with an wildcard for *.e-na.net and so it doesn't answer for just e-na.net. That could explain why it answers for mail.e-na.net as I haven't created that sub-domain. I wanted to check this but I couldn't figure how. I have been strugling with nslookup but I couldn't get along with it's syntax. Do you know how to list all resource records for anything under the e-na.net domain with nslookup or anything else? >I sent a test email to testuser@e-na.net to see if my mail server could >find it and it connected and sent the email ok, so it's going to be hard >to convince them there's something not quite if smtp servers connect ok. Right. I got the message. There is no such mail account so it was delivered to the dump account. >> >> How can I determine if mlemos@e-na.net is a valid address then. >> >> >Normally you should be ok - have you tried it with other domains? Try it >> >> Yes, they work. I was trying from the same machine where I have the domain >> hosted. Could that influence the results? >It can, depending on the hostnames of the machines and the records >present in the DNS, so it's hard to say. Yes, I read something in the RFCs about the domain in question being LOCAL rather than remote but I could not figure exactly where that would influence. Anyway, the DNS server is not in the same machine. >> Yes, but in this case there are MX records for www.e-na.net and not for >> e-na.net . This is very odd. >Probably because they're the same IP address - you query to www.e-na.net >and you happen to get the same ip address as mail.e-na.net >When I used nslookup to query the server for type MX on host >mail.e-na.net, it spits out the MX record which does actually appear to >mention "e-na.net" - but still it doesn't seem to work on just e-na.net >It's a bummer because it makes it hard to check from Php unless you know >the exact hostname the MX record appears to be bound to. I guess I have to fallback to the using gethostbyname to make sure that it returns a valid IP and try to connect mail server at the returned address to check for a valid e-mail. Regards, Manuel Lemos Web Programming Components using PHP Classes. Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org -- E-mail: mlemos@acm.org URL: http://www.mlemos.e-na.net/ PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp --

« previous php.dev (#10148) next »