chiark / gitweb /
resolved: TXT records
[elogind.git] / src / resolve / resolved-dns-rr.h
index 7b73cdc6cae1fabe5501be26777c0b911431a911..92ffeab203d2b110fe510832672d7d3e5798c9c8 100644 (file)
@@ -98,9 +98,9 @@ struct DnsResourceRecord {
                         char *os;
                 } hinfo;
 
-                /* struct { */
-                /*         char **list; */
-                /* } txt; */
+                struct {
+                        char **strings;
+                } txt;
 
                 struct {
                         struct in_addr in_addr;
@@ -119,6 +119,11 @@ struct DnsResourceRecord {
                         uint32_t expire;
                         uint32_t minimum;
                 } soa;
+
+                struct {
+                        uint16_t priority;
+                        char *exchange;
+                } mx;
         };
 };