Req #17819 [Ana->Wfx]: Add optional parameter to gethostbyaddr() and gethostbyip() to set DNS server

From: Date: Wed, 26 May 2021 12:30:55 +0000
Subject: Req #17819 [Ana->Wfx]: Add optional parameter to gethostbyaddr() and gethostbyip() to set DNS server
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-234025@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=17819&edit=1 ID: 17819 Updated by: krakjoe@php.net Reported by: rparish at digitalwebzone dot com Summary: Add optional parameter to gethostbyaddr() and gethostbyip() to set DNS server -Status: Analyzed +Status: Wont fix Type: Feature/Change Request Package: Network related Operating System: * PHP Version: * Block user comment: N Private report: N New Comment: While PHP relies on libc implementations of these functions, it's not practical to consider this as there's no reasonably portable way to do it. Since PHP has been relying on libc implementations of these functions forever, there's no reason to expect this to change. Previous Comments: ------------------------------------------------------------------------ [2003-01-18 11:23:25] sniper@php.net Let's leave this open and close the other one. (this one is more clear about what is requested) ------------------------------------------------------------------------ [2003-01-18 11:01:39] moriyoshi@php.net This feature request seems the same as bug #14246 ------------------------------------------------------------------------ [2002-06-18 13:39:11] rparish at digitalwebzone dot com Can we get the function gethostbyaddr or gethostbyip to accept a second value. that second value would be that of what DNS server to query to get the information. If second value is NULL, then use the systems resolv library. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=17819&edit=1

« previous php.bugs (#234025) next »