DNS TXT with multiple key-value pairs
Hello Forum:
I am trying to figure out how I can have a TXT dns record having more than one key-value pair for the same domain (website.com, for example). The problem is that if I have two separate TXT records, only the first one gets returned when doing a dns query on it.
I am using BIND 9.
so, how can I place these two key-value pairs on one TXT record:
TXT "v=spf1 ip4:237.43.37.0/24 ip4:13.434.89.0/26 ip4:82.65.77.242 ~all"
and
TXT "google-site-verification=cadfasklfjasdfsdfJJDSDFSDfdska3kasfjsdf903"
in just one TXT record.
When doing a query, this is what I get:
dig @localhost txt website.com
:
:
;; QUESTION SECTION:
;website.com. IN TXT
;; ANSWER SECTION:
website.com. 86400 IN TXT "v=spf1 ip4:237.43.37.0/24 ip4:13.434.89.0/26 ip4:82.65.77.242 ~all
;; AUTHORITY SECTION:
:
:
:
Pretend those IPs and the google value are real ones.
Thanks.
--Willie
|