If i insert a domain like *@xyz.de i get this message back. What is to do.

Fatal error: Call to undefined function checkdnsrr() in D:\wwwroot\xyz\modules\support\support.admin.inc on line 456

The DNS is working on the system.

Greeting and Thanks

Holger

Comments

jeremy’s picture

Title: Valid email domains: » make dns validation optional to work with Windows
Category: bug » feature
Priority: Critical » Normal

Evidently the checkdnsrr() function was not part of PHP until 5.3.0 was released. You'll either need to upgrade your PHP, or install the PEAR class » Net_DNS. Further details here:
http://php.net/manual/en/function.checkdnsrr.php

Marking as a feature replace to make dns validation optional.

budda’s picture

PHP 5.3 isn't compatible with Drupal 6 either, so not an option.

i think DNS validation should be optional for another reason:

We use postini.com for a number of clients as a great effective spam filter. However our clients domain MX record is pointing to Postinis servers, which causes the DNS validation to fail. So at present we can't use the email inbox checker facility to map emails from a certain domain to a certain client.

jeremy’s picture

Drupal 6 is compatible with PHP 5.3 as of Drupal 6.14:
http://drupal.org/drupal-6.14

And you can install the Net_DNS Pear class with earlier versions of PHP.

Regardless, I'm not opposed to making this a configurable option, I've simply not had time to implement it yet.

jeremy’s picture

Title: make dns validation optional to work with Windows » make dns validation optional

Updating title, as this clearly isn't just a Windows issue.

jeremy’s picture

Category: feature » bug
jeremy’s picture

Status: Active » Fixed

Neglected to close issue after fix was committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.