Top-level domain name registry service on Google Cloud Platform
Find a file
Michael Muller 5e74c06464 Create a nom_build wrapper script (#508)
* Create a nom_build wrapper script

nom_build is a wrapper around ./gradlew.  It's purpose is to help us
deal with properties.  The main problem that it is trying to solve is
that when properties are specified using -P, we don't get an error if
the property we specify isn't correct.  As a result, a user or a build
agent can launch a build with unintended parameters.

nom_build consolidates all of the properties that we define into a
python script where the properties are translated to flags (actual
gradlew flags are also proxied).  It also generates the property file
and warns the user if the current properties file is out of sync with
the script and includes documentation on each of the properties.
2020-03-10 16:32:14 -04:00
buildSrc Fix broken builds when Maven Central is used (#509) 2020-03-10 11:21:03 -04:00
common Fix broken builds when Maven Central is used (#509) 2020-03-10 11:21:03 -04:00
config Create a nom_build wrapper script (#508) 2020-03-10 16:32:14 -04:00
core Enable Cloud SQL when Datastore is enabled for unit test (#502) 2020-03-10 12:26:25 -04:00
db Fix broken builds when Maven Central is used (#509) 2020-03-10 11:21:03 -04:00
docs Always validate domain name on allocation token (#498) 2020-02-27 16:48:37 -05:00
gradle Upgrade to Gradle 6.2.1 (#501) 2020-03-05 18:47:25 -05:00
integration Check for post-deployment Flyway script changes (#448) 2020-01-21 15:20:37 -05:00
java-format Print filenames that need to be reformatted (#386) 2019-11-26 13:20:27 -05:00
networking Fix broken builds when Maven Central is used (#509) 2020-03-10 11:21:03 -04:00
prober Fix broken builds when Maven Central is used (#509) 2020-03-10 11:21:03 -04:00
proxy Fix broken builds when Maven Central is used (#509) 2020-03-10 11:21:03 -04:00
python/google/registry/scripts Remove Bazel build (#94) 2019-06-13 18:15:33 -04:00
release Use JSON API for Maven Repo on GCS (#483) 2020-02-12 14:03:50 -05:00
services Upgrade to Gradle 6.2.1 (#501) 2020-03-05 18:47:25 -05:00
third_party/objectify/v4_1 Upgradle JUnit to 4.13 (#442) 2020-01-14 10:54:09 -05:00
util Fix broken builds when Maven Central is used (#509) 2020-03-10 11:21:03 -04:00
.gcloudignore Build docker image of nomulus tool (#142) 2019-07-16 20:18:44 -04:00
.gitignore Make Gradle dependency cache shareable in GCB (#479) 2020-02-10 11:20:11 -05:00
.lgtm.yml Add customized .lgtm.yml (#191) 2019-07-23 17:09:05 -04:00
appengine_war.gradle Allow project dependency to use runtimeClasspath (#395) 2019-12-02 16:10:13 -05:00
AUTHORS Change all references to Domain Registry to Nomulus 2016-10-14 16:58:07 -04:00
build.gradle Fix broken builds when Maven Central is used (#509) 2020-03-10 11:21:03 -04:00
CONTRIBUTING.md Add Google Java Style Guide info and link to CONTRIBUTING.md 2016-11-15 11:01:16 -05:00
CONTRIBUTORS Add shicong@ and gbrodman@ to CONTRIBUTORS 2019-06-13 16:07:31 -04:00
dependencies.gradle Fix broken builds when Maven Central is used (#509) 2020-03-10 11:21:03 -04:00
dependency_lic.gradle Upgrade Gradle license report plugin to latest version (1.13) (#492) 2020-02-25 15:04:56 -05:00
gradle.properties Create a nom_build wrapper script (#508) 2020-03-10 16:32:14 -04:00
gradlew Upgrade to Gradle 6.0 (#364) 2019-11-13 13:17:29 -05:00
gradlew.bat Upgrade to Gradle 5.5.1 (#178) 2019-07-17 17:37:44 -04:00
java_common.gradle Make Gradle dependency cache shareable in GCB (#479) 2020-02-10 11:20:11 -05:00
LICENSE Fix a typo (#174) 2019-07-15 17:49:22 -04:00
nom_build Create a nom_build wrapper script (#508) 2020-03-10 16:32:14 -04:00
nomulus-logo.png Update Nomulus logo 2017-05-23 17:22:49 -04:00
package-lock.json Update puppeteer (#359) 2019-11-11 15:38:44 -05:00
package.json Update puppeteer (#359) 2019-11-11 15:38:44 -05:00
projects.gradle Make dev project configurable (#371) 2019-11-22 16:20:07 -05:00
README.md Link to Sourcegraph logo a different file. (#280) 2019-09-23 15:31:09 -04:00
settings.gradle Fix broken builds when Maven Central is used (#509) 2020-03-10 11:21:03 -04:00
utils.gradle Use Flyway to deploy SQL schema to non-prod (#255) 2019-09-06 16:29:49 -04:00
vnames.json Create kzip file for Kythe cross-referencing (#424) 2020-01-03 16:57:39 -05:00

Nomulus

Internal Build FOSS Build LGTM License Code Search
Build Status for Google Registry internal build Build Status for the open source build Total alerts License for this repo Link to Source Graph

Nomulus logo

Overview

Nomulus is an open source, scalable, cloud-based service for operating top-level domains (TLDs). It is the authoritative source for the TLDs that it runs, meaning that it is responsible for tracking domain name ownership and handling registrations, renewals, availability checks, and WHOIS requests. End-user registrants (i.e. people or companies that want to register a domain name) use an intermediate domain name registrar acting on their behalf to interact with the registry.

Nomulus runs on Google App Engine and is written primarily in Java. It is the software that Google Registry uses to operate TLDs such as .google, .app, .how, .soy, and .みんな. It can run any number of TLDs in a single shared registry system using horizontal scaling. Its source code is publicly available in this repository under the Apache 2.0 free and open source license.

Getting started

The following resources provide information on getting the code and setting up a running system:

If you are thinking about running a production registry service using our platform, please drop by the user group and introduce yourself and your use case. To report issues or make contributions, use GitHub issues and pull requests.

Capabilities

Nomulus has the following capabilities:

  • Extensible Provisioning Protocol (EPP): An XML protocol that is the standard format for communication between registrars and registries. It includes operations for registering, renewing, checking, updating, and transferring domain names.
  • DNS interface: The registry provides a pluggable interface that can be implemented to handle different DNS providers. It includes a sample implementation using Google Cloud DNS as well as an RFC 2136 compliant implementation that works with BIND.
  • WHOIS: A text-based protocol that returns ownership and contact information on registered domain names.
  • Registration Data Access Protocol (RDAP): A JSON API that returns structured, machine-readable information about domain name ownership. It is essentially a newer version of WHOIS.
  • Registry Data Escrow (RDE): A daily export of all ownership information for a TLD to a third party escrow provider to allow take-over by another registry operator in the event of serious failure. This is required by ICANN for all new gTLDs.
  • Premium pricing: Communicates prices for premium domain names (i.e. those that are highly desirable) and supports configurable premium registration and renewal prices. An extensible interface allows fully programmatic pricing.
  • Billing history: A full history of all billable events is recorded, suitable for ingestion into an invoicing system.
  • Registration periods: Qualified Launch Partner, Sunrise, Landrush, Claims, and General Availability periods of the standard gTLD lifecycle are all supported.
  • Brand protection for trademark holders (via TMCH): Allows rights-holders to protect their brands by blocking registration of domains using their trademark. This is required by ICANN for all new gTLDs.
  • Registrar support console: A self-service web console that registrars can use to manage their accounts in the registry system.
  • Reporting: Support for required external reporting (such as ICANN monthly registry reports, CZDS, Billing and Registration Activity) as well as internal reporting using BigQuery.
  • Administrative tool: Performs the full range of administrative tasks needed to manage a running registry system, including creating and configuring new TLDs.
  • DNS interface: An interface for DNS operations is provided so you can write an implementation for your chosen provider, along with a sample implementation that uses Google Cloud DNS. If you are using Google Cloud DNS you may need to understand its capabilities and provide your own multi-AS solution.
  • GAE Proxy: App Engine Standard only serves HTTP/S traffic. A proxy to forward traffic on EPP and WHOIS ports to App Engine via HTTPS is provided. Instructions on setting up the proxy on Google Kubernetes Engine is available. Running the proxy on GKE supports IPv4 and IPv6 access, per ICANN's requirements for gTLDs. The proxy can also run as a single jar file, or on other Kubernetes providers, with modifications.

Additional components

Registry operators interested in deploying Nomulus will likely require some additional components that are need to be configured separately.

  • A way to invoice registrars for domain name registrations and accept payments. Nomulus records the information required to generate invoices in billing events.
  • Fully automated reporting to meet ICANN's requirements for gTLDs. Nomulus includes substantial reporting functionality but some additional work will be required by the operator in this area.
  • A secure method for storing cryptographic keys. A keyring interface is provided for plugging in your own implementation (see configuration doc for details).
  • System status and uptime monitoring.

Outside references

  • Donuts Registry has helped review the code and provided valuable feedback
  • CoCCa and FRED are other open-source registry platforms in use by many TLDs
  • We are not aware of any fully open source domain registrar projects, but open source EPP Toolkits (not yet tested with Nomulus; may require integration work) include:
  • Some Open Source DNS Projects that may be useful, but which we have not tested: