io-developer / php-whois

PHP WHOIS provides parsed and raw whois lookup of domains and ASN routes. PHP 8.0 compatible (5.4+ old versions)
MIT License
443 stars 118 forks source link

Sponsoring Registrar URL: http://www.markmonitor.com #198

Open lukasmedia opened 1 year ago

lukasmedia commented 1 year ago

Description

Can i change markmonitor to for example localhost?

Example

I see that queries are done using whois.markmonitor.com. Can i change this?

io-developer commented 1 year ago

Hi Technically it's possible but it seems not easy. You have to extend TldModule and replace this logic in new class - https://github.com/io-developer/php-whois/blob/master/src/Iodev/Whois/Modules/Tld/TldModule.php#L217