Home Forums OS X Server and Client Discussion DNS dns trouble… i think?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #358234
    bustthis
    Participant

    i’m a little confused about my dns setup… i registered charles-x.com with dyndns.org, they handle my dns and mx records. i setup dns in 10.3.4 internally with the same domain name. do i need to setup dns records for that too? well, i did and now i noticed strange behavior with clamd and mail gets delayed. clamd used to selfcheck every hour and now seems to check when it wants to or when every i send or receive mail.

    clamd.log :

    Mon Jun 14 05:01:14 2004 -> Database correctly reloaded (21951 viruses)
    Mon Jun 14 06:15:38 2004 -> SelfCheck: Database status OK.
    Mon Jun 14 11:34:55 2004 -> SelfCheck: Database status OK.
    Mon Jun 14 12:50:18 2004 -> SelfCheck: Database modification detected. Forcing reload.
    Mon Jun 14 12:50:18 2004 -> Reading databases from /usr/local/share/clamav
    Mon Jun 14 12:50:19 2004 -> Database correctly reloaded (21958 viruses)
    Mon Jun 14 14:20:32 2004 -> SelfCheck: Database status OK.
    Mon Jun 14 15:39:49 2004 -> SelfCheck: Database status OK.
    Mon Jun 14 18:05:21 2004 -> SelfCheck: Database modification detected. Forcing reload.
    Mon Jun 14 18:05:21 2004 -> Reading databases from /usr/local/share/clamav
    Mon Jun 14 18:05:22 2004 -> Database correctly reloaded (21961 viruses)
    Mon Jun 14 19:08:26 2004 -> SelfCheck: Database status OK.

    i was looking around on the apple lists and it seems that bad mx records and cause alot of problems. i would really love to figure this one out. can someone tell me if this looks okay to them?

    this is what my dns looks like –

    localhost.charles-x.com. IN A 127.0.0.1
    server.charles-x.com. IN A 10.0.1.201
    workstation1.charles-x.com. IN A 10.0.1.2
    workstation2.charles-x.com. IN A 10.0.1.3
    charles-x.com. IN MX 10 server.charles-x.com.

    ;
    ; Aliases
    ;
    mail.charles-x.com. IN CNAME server.charles-x.com.
    http://www.charles-x.com. IN CNAME server.charles-x.com.
    tibook.charles-x.com. IN CNAME workstation2.charles-x.com.

    #358236
    iztech
    Participant

    what are the mx record at dnydns for your zone?

    from the looks of it you have too many cname
    they say it is bad to have an mx record point to a cname.

    it should be…

    domain.com mx 10 mail.domain.com
    mail.domain.com A x.x.x.x

    not

    mail.domain.com CNAME mailserver.domain.com

    #358239
    bustthis
    Participant

    no, i haven’t becaue i thought it was a dns issue… but i will now. i noticed it behaving weird after i added the mx record.

    i have freshclam check 6 times a day… i just find it a little odd that clamd stops checking and will start again when mail is sent or received.

    i just changed the hostname in my amavisd.conf from server.charles-x.com to charles-x.com and i think that fixed it, i won’t know for a couple of hours.

    i really just wanted to know if my mx record looked alright and if it was needed for my particular setup.

    #358240
    bustthis
    Participant

    my dns records at dyndns are:

    charles-x.com – 20 mx2.mailhop.org
    charles-x.com – 10 mx2.mailhop.org

    i am very new at this dns stuff, but i thought i set it up so the mx points to an A record-
    server.charles-x.com. IN A 10.0.1.201
    charles-x.com. IN MX 10 server.charles-x.com.
    mail.charles-x.com. IN CNAME server.charles-x.com

    and the cname was there so i could use “mail” instead of “server” – all of my ssl certs are mail.charles-x.com, so i’d like to keep that, but i don’t have another machine to add, until my g5 arrives!!!

    would it make sense to do this:
    server.charles-x.com. IN A 10.0.1.201
    mail.charles-x.com IN A 10.0.1.201

    two A records for the same machine? i wouldn’t think so, but what do i know!

    maybe i don’t have a clue 🙂 i think i need a good book – i just find it confusing with dyndns in the mix.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Comments are closed