If you look in the amp-upgrade script, there should be some clues in there as well. I can't remember the exact location of these scripts, but the linux commands find, locate and whereis will help.
Otherwise, try to do a pcap on airwave, then amp-upgrade. You should be able to tell from the pcap what it is looking for in dns.