From c7c0221b2881b5bb0fb60461a4f4decb5e88a340 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Wed, 19 Jul 2017 13:11:53 -0400 Subject: [PATCH] Switch dns master/slave example to consistently use example.com --- docs/backends/generic-sql.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/backends/generic-sql.rst b/docs/backends/generic-sql.rst index 999fd20e5..6d295e9a7 100644 --- a/docs/backends/generic-sql.rst +++ b/docs/backends/generic-sql.rst @@ -29,7 +29,7 @@ To add a domain, issue the following: .. code-block:: SQL - INSERT INTO domains (name, type) VALUES ('powerdns.com', 'NATIVE'); + INSERT INTO domains (name, type) VALUES ('example.com', 'NATIVE'); The records table can now be filled by with the domain_id set to the id of the domains table row just inserted. @@ -54,13 +54,13 @@ added. Typical output is: Apr 09 13:34:29 All slave domains are fresh Apr 09 13:35:29 1 slave domain needs checking - Apr 09 13:35:29 Domain powerdns.com is stale, master serial 1, our serial 0 + Apr 09 13:35:29 Domain example.com is stale, master serial 1, our serial 0 Apr 09 13:35:30 [gPgSQLBackend] Connected to database - Apr 09 13:35:30 AXFR started for 'powerdns.com' - Apr 09 13:35:30 AXFR done for 'powerdns.com' + Apr 09 13:35:30 AXFR started for 'example.com' + Apr 09 13:35:30 AXFR done for 'example.com' Apr 09 13:35:30 [gPgSQLBackend] Closing connection -From now on, PowerDNS is authoritative for the 'powerdns.com' zone and +From now on, PowerDNS is authoritative for the 'example.com' zone and will respond accordingly for queries within that zone. Periodically, PowerDNS schedules checks to see if domains are still @@ -103,7 +103,7 @@ master operation instead of the default native replication, issue: .. code-block:: SQL - INSERT INTO domains (name, type) VALUES ('powerdns.com', 'MASTER'); + INSERT INTO domains (name, type) VALUES ('example.com', 'MASTER'); Make sure that the assigned id in the domains table matches the domain_id field in the records table! -- 2.40.0