Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Application > Whois #2236

Merged
merged 2 commits into from
May 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Source/NETworkManager.Models/Network/Whois.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public static string GetWhoisServer(string domain)
var domainParts = domain.Split('.');

// TLD to upper because the lookup is case sensitive
return WhoisServers[domainParts[domainParts.Length - 1].ToUpper()].FirstOrDefault()?.Server;
return WhoisServers[domainParts[^1].ToUpper()].FirstOrDefault()?.Server;
}
#endregion
}
1 change: 1 addition & 0 deletions docs/Changelog/next-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ Deprecated
- Language files updated [#transifex](https://github.com/BornToBeRoot/NETworkManager/pulls?q=author%3Aapp%2Ftransifex-integration){:target="\_blank"}
- Dependencies updated [#dependencies](https://github.com/BornToBeRoot/NETworkManager/pulls?q=author%3Aapp%2Fdependabot){:target="\_blank"}
- Add documentation for:
- Application > Whois [#2236](https://github.com/BornToBeRoot/NETworkManager/pull/2236)
- Application > Subnet Calculator [#2233](https://github.com/BornToBeRoot/NETworkManager/pull/2233)
2 changes: 1 addition & 1 deletion docs/Documentation/01_Application/04_IPScanner.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Inherit the host from the general settings.

**Type:** `Boolean`

**Default:** `Disabled`
**Default:** `Enabled`

{: .note }
If you enable this option, the [IP range](#ip-range) is overwritten by the host from the general settings and the [IP range](#ip-range) is disabled.
Expand Down
40 changes: 38 additions & 2 deletions docs/Documentation/01_Application/19_Whois.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,48 @@ title: Whois
parent: Application
grand_parent: Documentation
nav_order: 19
description: ""
description: "Documentation of Whois"
permalink: /Documentation/Application/Whois
---

# Whois

With **Whois** you can retrieve Whois information for a domain directly from the Whois server associated with the top-level domain.

{: .information }
Whois data from a domain is publicly available. The data is provided by the domain registrar and can be queried via the whois protocol. The whois protocol is based on TCP and uses port 43. The whois protocol is not encrypted and the data is transmitted in plain text. Because the whois protocol is not standardized, the data may have a different format depending on the registrar.

{: .note}
In order to use the whois protocol, the firewall must allow outgoing connections on port 43 to the whois server associated with the top-level domain. For example, if you want to query the whois information for `example.com`, you must allow outgoing connections to `whois.verisign-grs.com` on port 43.

{: .note}
For .de domains, DENIC no longer provides information via the whois protocol.

Possible inputs:

- `example.com`

![Whois](19_Whois.png)

## Profile
## Profile

### Inherit host from general

Inherit the host from the general settings.

**Type:** `Boolean`

**Default:** `Enabled`

{: .note }
If you enable this option, the [domain](#domain) is overwritten by the host from the general settings and the [domain](#domain) is disabled.

### Domain

Domain to query for whois information.

**Type:** `String`

**Default:** `Empty`

**Example:** `example.com`