[8.161][BUG][FIXED] Repeated "No such IPv4 domain" in system logs

Hi, I have a smtp smart host that got auto converted to the new 8.2 style. However I have repeated error messages in my system logs every 6 minutes or so. The interesting part is that I have created a new definition for my smarthost to use with my regular mail and notifier and am not using the autocreated definition. Only thing is that I haven't deleted the auto created definition.
gatekeeper:/var/log # cat system.log |grep "No such"
2011:03:24-00:03:33 gatekeeper dns-resolver[13775]: No such IPv4 domain: smtpauth.centurytel.net  (REF_aXsSbHliPf)
2011:03:24-00:03:33 gatekeeper dns-resolver[13775]: No such IPv6 domain: smtpauth.centurytel.net  (REF_aXsSbHliPf)
2011:03:24-00:09:35 gatekeeper dns-resolver[13775]: No such IPv4 domain: smtpauth.centurytel.net  (REF_aXsSbHliPf)
2011:03:24-00:09:35 gatekeeper dns-resolver[13775]: No such IPv6 domain: smtpauth.centurytel.net  (REF_aXsSbHliPf)
2011:03:24-00:15:37 gatekeeper dns-resolver[13775]: No such IPv4 domain: smtpauth.centurytel.net  (REF_aXsSbHliPf)
2011:03:24-00:15:37 gatekeeper dns-resolver[13775]: No such IPv6 domain: smtpauth.centurytel.net  (REF_aXsSbHliPf)

smtpauth.centurytel.net is my smarthost and I can resolve it just fine 
gatekeeper:/var/log # dig  smtpauth.centurytel.net

; <>> DiG 9.5.0-P2 <>> smtpauth.centurytel.net
;; global options:  printcmd
;; Got answer:
;; ->>HEADER

I have no error messages in named logs. The mail and my daily reports are flowing without any problems.

Regards
Bill.
  • Astaro Beta Report
    --------------------------------
    Version: 8.161
    Type: BUG
    State: TESTED/FIXED
    Reporter: Billybob+++
    Contributor: 
    MantisID: 17376
    Target version: 8.163
    Fixed in version: 8.163
    --------------------------------

  • That's indeed a little bit strange. What does the output of 'cc get_object REF_aXsSbHliPf' look like?
  • hi !

    i have also many such entryies but ignored but pls have a look at 

      
    acenn:/home/login # cc get_object REF_pGVulaKhWJ
    get_object returned {
              'autoname' => 0,
              'class' => 'network',
              'data' => {
                          'addresses' => [
                                           '67.215.65.132',
                                           '67.215.77.132'
                                         ],
                          'addresses6' => [],
                          'comment' => '',
                          'hostname' => 'pop.vsnl.net',
                          'interface' => '',
                          'name' => 'pop.vsnl.net',
                          'resolved' => 1,
                          'resolved6' => 0,
                          'timeout' => 604800
                        },
              'hidden' => 0,
              'lock' => '',
              'nodel' => '',
              'ref' => 'REF_pGVulaKhWJ',
              'type' => 'dns_group'
            }

    it seems they are member group from mail (?) dns group 

    thx
  • Here is the output
    gatekeeper:/var/log # cc get_object REF_aXsSbHliPf
    get_object returned {
              'autoname' => 0,
              'class' => 'network',
              'data' => {
                          'address' => '',
                          'address6' => '',
                          'comment' => 'Auto-generated on Up2date installation',
                          'hostname' => 'smtpauth.centurytel.net ',
                          'interface' => '',
                          'name' => 'SMTP smarthost (auto-generated)',
                          'resolved' => 0,
                          'resolved6' => 0,
                          'timeout' => 180
                        },
              'hidden' => 0,
              'lock' => '',
              'nodel' => '',
              'ref' => 'REF_aXsSbHliPf',
              'type' => 'dns_host'
            }
  • The auto generated definition looks ok in webadmin but is unresolved. However the manually entered definition resolves just fine.
  • Bill, if you take a close look, you will notice an additional whitespace in the hostname in your post. I guess that is what made the dns-resolver complain. I'll ask mlenk to take a look at this.
  • Thanks for looking at it.

    i have also many such entryies ... 


    Can you also look for the smarthost and verify whether there are trailing spaces in the hostname? If so, then please remove them and wait for, let's say a day, and look at the logs if the dns-resolver still complains for those hosts.
  • Hi Billybob,

    do you have a backup of your configuration of the time before the upgrade to 8.160?
    If yes: Can you please mail it to me in a private message?

    Regards,
    mlenk
  • Hi Billybob,

    actually I don't need the backup itself, but the smarthost settings within. Can you please run 
    backup.plx -p backupfile.abf
     on the backup file and grep for smarthost_host in its output?

    Regards,
    mlenk
  • @mlenk File emailed.

    @kbr Good eye. There is indeed a space at the end even in the backup file. This is going to be interesting to fix[;)]

    Regards
    Bill.