+2008-12-26 Reiner Steib <Reiner.Steib@gmx.de>
+
+ * dns.el (dns-set-servers): Check "Address". Fix typo.
+
2008-12-25 Reiner Steib <Reiner.Steib@gmx.de>
* dns.el (dns-set-servers): Renamed from dns-parse-resolv-conf. Call
(call-process "nslookup" nil t nil "localhost")
(goto-char (point-min))
(re-search-forward
- "^Server:[ \t]*\\([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\)" nil t)
- (setq dns-servers) (list (match-string 1))))))
+ "^Address:[ \t]*\\([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\)" nil t)
+ (setq dns-servers (list (match-string 1)))))))
(defun dns-read-txt (string)
(if (> (length string) 1)