Browse Source

test for contact

Leif Johansson 13 years ago
parent
commit
52e5c94db3
2 changed files with 2 additions and 0 deletions
  1. 1 0
      config_test.go
  2. 1 0
      dns/test.example.com.json

+ 1 - 0
config_test.go

@@ -25,5 +25,6 @@ func (s *ConfigSuite) TestReadConfigs(c *C) {
 	// to make nutty configuration entries
 	c.Check(s.zones["test.example.com"].Origin, Equals, "test.example.com")
 	c.Check(s.zones["test.example.com"].Options.MaxHosts, Equals, 2)
+	c.Check(s.zones["test.example.com"].Options.Contact, Equals, "support.bitnames.com")
 	c.Check(s.zones["test.example.com"].Labels["weight"].MaxHosts, Equals, 1)
 }

+ 1 - 0
dns/test.example.com.json

@@ -1,6 +1,7 @@
 { "serial": 3,
   "ttl":    600,
   "max_hosts": 2,
+  "contact": "support.bitnames.com",
   "data" : {
     "":  {
       "ns": { "ns1.example.net.": null, "ns2.example.net.": null },