Strange issue here.. this is on an older CentOS 4.9 box.
Host command is not giving back MX records, even when directly querying 8.8.8.8.
-bash-3.00# host gmail.com
gmail.com has address 74.125.139.19
gmail.com has address 74.125.139.83
gmail.com has address 74.125.139.18
gmail.com has address 74.125.139.17
-bash-3.00# host gmail.com 8.8.8.8
Using domain server:
Name: 8.8.8.8
Address: 8.8.8.8#53
Aliases:
gmail.com has address 74.125.139.19
gmail.com has address 74.125.139.83
gmail.com has address 74.125.139.18
gmail.com has address 74.125.139.17
It should give:
jbrown@jbrown-ubuntu:~$ host gmail.com 8.8.8.8
Using domain server:
Name: 8.8.8.8
Address: 8.8.8.8#53
Aliases:
gmail.com has address 74.125.229.182
gmail.com has address 74.125.229.181
gmail.com has IPv6 address 2607:f8b0:4008:800::1016
gmail.com mail is handled by 20 alt2.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 5 gmail-smtp-in.l.google.com.
gmail.com mail is handled by 30 alt3.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 40 alt4.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 10 alt1.gmail-smtp-in.l.google.com.
=====================================
Any ideas? I have a /var/log/all.log where I have ALL syslog/logs get written to, and tailing that, nothing comes up when running the host command as to what the issue could be.