Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
domainepublic
alternc
Commits
08a23b08
Commit
08a23b08
authored
Jul 07, 2014
by
fred
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add support for .in tld
parent
f247ecf7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
bureau/class/m_dom.php
bureau/class/m_dom.php
+5
-1
No files found.
bureau/class/m_dom.php
View file @
08a23b08
...
...
@@ -284,7 +284,7 @@ class m_dom {
* et extrait du whois les serveurs DNS du domaine demand. En fonction
* du TLD, on sait (ou pas) faire le whois correspondant.
* Actuellement, les tld suivants sont supports :
* .com .net .org .be .info .ca .cx .fr .biz .name
* .com .net .org .be
.eu
.info .ca .cx
.it
.fr .biz .name
.in .ws
*
* @param string $domain Domaine fqdn dont on souhaite les serveurs DNS
* @return array Retourne un tableau index avec les NOMS fqdn des dns
...
...
@@ -338,6 +338,9 @@ class m_dom {
$serveur
=
"whois.nic.name"
;
$egal
=
"domain = "
;
break
;
case
"in"
:
$serveur
=
"whois.inregistry.net"
;
break
;
case
"ws"
:
$serveur
=
"whois.samoanic.ws"
;
break
;
...
...
@@ -365,6 +368,7 @@ class m_dom {
case
"net"
:
case
"info"
:
case
"biz"
:
case
"in"
:
case
"name"
:
if
(
ereg
(
"Name Server:"
,
$ligne
))
{
$found
=
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment