Extend ${readsocket to TCP sockets (modified John Jetmore's patch).
[exim.git] / test / dnszones-src / db.test.ex
index 2e2865eb4c1c4f584bed8f61fd7e97405343d58e..8ac35367e55d5a899d1e285c6054ea141400bf56 100644 (file)
@@ -1,4 +1,4 @@
-; $Cambridge: exim/test/dnszones-src/db.test.ex,v 1.1 2006/02/06 16:22:56 ph10 Exp $
+; $Cambridge: exim/test/dnszones-src/db.test.ex,v 1.4 2006/04/18 11:13:19 ph10 Exp $
 
 ; This is a testing zone file for use when testing DNS handling in Exim. This
 ; is a fake zone of no real use - hence no SOA record. The zone name is
@@ -21,6 +21,7 @@
 test.ex.     NS      exim.test.ex.
 
 test.ex.     TXT     "A TXT record for test.ex."
+s/lash       TXT     "A TXT record for s/lash.test.ex."
 
 cname        CNAME   test.ex.
 
@@ -47,6 +48,16 @@ mx.π        A       V4NET.255.255.255
 
 thishost     A       127.0.0.1
 
+; Something that gives both the IP and the loopback
+
+thisloop     A       HOSTIPV4
+             A       127.0.0.1
+
+; Something that gives an unreachable IP and the loopback
+
+badloop      A       V4NET.0.0.1
+             A       127.0.0.1
+
 ; Another host with both A and AAAA records
 
 46           A       V4NET.0.0.4
@@ -189,6 +200,12 @@ mx46466      MX  46 46.test.ex.
              MX  46 46b.test.ex.
              MX  46 v6.test.ex.
 
+; This time, change precedence
+
+mx46466b     MX  46 46.test.ex.
+             MX  47 46b.test.ex.
+             MX  48 v6.test.ex.
+
 ; Points to a host with a working IPv4 and a non-working IPv6 record
 
 mx46cd       MX  10 46c.test.ex.