Dig only returns MX records in +trace mode


 
Thread Tools Search this Thread
Special Forums IP Networking Dig only returns MX records in +trace mode
# 1  
Old 04-28-2015
Dig only returns MX records in +trace mode

One of our email recipients has 17 mx records, and our emailing program postfix on linux does not retrieve these records. When using dig, the same thing happens.

This command returns no mx records
Code:
>dig mx fnb.co.za

But when using +trace, the records get returned
Code:
>dig mx fnb.co.za +trace

The question is whether there is a setting we can make to make the standard mx lookup work properly.

Thanks
# 2  
Old 04-28-2015
shouldn't you use:

Code:
dig -t mx fnb.co.za.

Technically at least under Linux, man page says that:

Code:
dig fnb.co.za. mx

works as well (resource name followed by type)

Even though I had success with the order you mentioned too... but it's not documented that way. At least on on my dig man page.
# 3  
Old 04-29-2015
These variations do not work

The command line variations still do not return the MX records for the domain
# 4  
Old 04-29-2015
They work for me. For that domain. Maybe something is getting blocked on your side??

If this is from a Linux host, try the "host" command as well:

Code:
host -t mx fnb.co.za.

# 5  
Old 04-29-2015
Great feedback

That is great feedback, it indicates that we have some underlying setup problem on our Linux system/firewall whatever, maybe a packet sizing issue or firewall port 53, those are indicated in postings.

Thanks for trying it out.

---------- Post updated at 09:48 AM ---------- Previous update was at 09:44 AM ----------

This works too:

Code:
dig @8.8.8.8 -t mx fnb.co.za.


So that further indicates an issue with our own DNS setup..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Iscsiadm command returns error 'no records found'

Hi there, I'm currently working on an exercise to connect to a Windows iscsi target via a Red Hat initiator machine. I'm using Windows Server 2012 and Red Hat Enterprise Linux v7.1 I have created the target on the Windows Server box and the two devices can communicate with each other. Verified... (3 Replies)
Discussion started by: Tech87
3 Replies

2. HP-UX

From a C++ application how to find if a hpux host is in standard mode or trusted mode

is there a way for my C++ application to find out which mode the hpux OS is running in? standard mode or trusted mode. (3 Replies)
Discussion started by: einsteinBrain
3 Replies

3. Shell Programming and Scripting

Dig match

Hi, I am testing some code to match a grep to see if one of the dns server exists but it does not seem to match: ERROR: ======= CRITICAL: google.com DNS : ns3.google.com NOT found CODE: ===== if ; then echo "OK: google.com DNS : ns3.google.com exists" else echo... (5 Replies)
Discussion started by: dmccabe
5 Replies

4. IP Networking

DNS: Dig returns different responses...

Hey everyone, Okay, so I've been having some fun with the dig command, and wanted to dig my old school. Two questions came up from this. So I: dig @8.8.8.8 +recurse njcu.edu ANY and the result is about 8 records, including the SOA record. One of them is this weird TXT record, and the other is... (1 Reply)
Discussion started by: Lost in Cyberia
1 Replies

5. UNIX for Advanced & Expert Users

Playing with whois & dig - getting all the a records (globally)

Dear All, I want to get all the IPs of the A RECORDS for mail.google.com. The aim is to deny access to these IPs. I learnt that mail.google.com has several IPs. I did the following steps: 1. whois google.com 2. I got the following as its DOMAIN SERVERS: 3.# dig @ns1.google.com a... (1 Reply)
Discussion started by: coolatt
1 Replies

6. Shell Programming and Scripting

Ascii Mode appending extra records to csv file

I am relatively new to this forum and Unix scripting. ksh script: part 1 :will call a PL\SQL program will create 3 CSV file at the unix directory. part 2 : will sftp the files to the EFT server. Once the EFT server receives these file , it will transfer them to a shared windows folders. ... (3 Replies)
Discussion started by: developerpa
3 Replies

7. UNIX for Advanced & Expert Users

DIG uses localhost

Hi, I have these entries in the /etc/esolv.conf: ------------ domain xxxxxx search yyyyyy nameserver 127.0.0.1 nameserver aaaaaaaaaaaaaaaa nameserver bbbbbbbbbbbbbbbb ------------- When I use 'dig' or 'nslookup' command, like 'dig yahoo.com' it uses the localhost as the server. I... (2 Replies)
Discussion started by: chaandana
2 Replies

8. UNIX for Advanced & Expert Users

What is the difference between single line mode and multiline mode in Regular expressions?

Hi All, Can please let me know what is the difference between the single line mode and multi line mode in regular expresions? Thanks, Chidhambaram B (3 Replies)
Discussion started by: chidhu.anu
3 Replies

9. IP Networking

The dig command

Can I use two different DNS servers in the one command in the form of primary and secondary. Take this for example: dig @<primaryAddress> @<secondaryAddress> MX domain.tld So if primary address is down, it will use the secondary address as a backup. It seems to work when testing, but thought... (1 Reply)
Discussion started by: neil_is_ere
1 Replies

10. UNIX for Dummies Questions & Answers

dig

what is dig? Is it just a advanced type of nslookup? how to use it? //nicke:confused: (1 Reply)
Discussion started by: nicke30
1 Replies
Login or Register to Ask a Question