Skip to content

Commit

Permalink
Merge pull request #7 from NRKirby/add_cira_domain_pattern
Browse files Browse the repository at this point in the history
Add pattern for CIRA registry
  • Loading branch information
flipbit authored May 4, 2019
2 parents 075b124 + 5f3ad47 commit 48510e2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Whois/Resources/Patterns/Domains/Cira.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Domain name: {DomainName?$:ToLower(),Trim()}
Domain status: {DomainStatus?$:ToLower()}
Creation date: {Registered?$:ToDateTime("yyyy-MM-ddTHH:mm:ssZ")}
Expiry date: {Expiration?$:ToDateTime("yyyy-MM-ddTHH:mm:ssZ")}
Updated date: {Updated?$:ToDateTime("yyyy-MM-ddTHH:mm:ssZ")}
DNSSEC: {DnsSecStatus$?:Trim()}

Registrar:
Name: {Registrar.Name?$:Trim()}

Name servers:
{NameServers$}
{NameServers*$}
2 changes: 2 additions & 0 deletions Whois/Whois.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<RootNamespace>Whois</RootNamespace>
</PropertyGroup>
<ItemGroup>
<None Remove="Resources\Patterns\Domains\Cira.txt" />
<None Remove="Resources\Patterns\Domains\Csc.txt" />
<None Remove="Resources\Patterns\Domains\NicBr.txt" />
<None Remove="Resources\Patterns\Domains\Nominet.txt" />
Expand All @@ -22,6 +23,7 @@
<None Remove="Resources\Patterns\Servers\Iana.txt" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\Patterns\Domains\Cira.txt" />
<EmbeddedResource Include="Resources\Patterns\Domains\NicBr.txt" />
<EmbeddedResource Include="Resources\Patterns\Domains\Nominet.txt" />
<EmbeddedResource Include="Resources\Patterns\Domains\RegistrarSafe.txt" />
Expand Down

0 comments on commit 48510e2

Please sign in to comment.