Author Topic: DNS problem  (Read 2359 times)

cougarmaster

  • Zen Monk
  • **
  • Posts: 80
  • Karma: +0/-0
    • View Profile
DNS problem
« on: December 15, 2010, 03:28:47 pm »
Hi all,

    I am getting a bit confused here about setting the DNS with MX records. The thing I need to do is that I have a zimbra server running and I can't resolve the MX record to it. I am using pfsense as my firewall and using zentyal as samba and now DNS. Here is the DNS from dig :-

; <<>> DiG 9.7.2-P3 <<>> example.com MX
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48267
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;example.com.         IN   MX

;; ANSWER SECTION:
example.com.      176824   IN   MX   10 mail.example.com.

;; AUTHORITY SECTION:
example.com.      176824   IN   NS   ns2.example.com.
example.com.      176824   IN   NS   ns1.example.com.

;; ADDITIONAL SECTION:
ns1.example.com.   241736   IN   A   xx.xx.xx.xx <--- public IPs
ns2.example.com.   242358   IN   A   xx.xx.xx.xx <--- public IPs

;; Query time: 7 msec
;; SERVER: 192.168.2.254#53(192.168.2.254)
;; WHEN: Wed Dec 15 22:23:04 2010
;; MSG SIZE  rcvd: 120

I have entered all this from the GUI in zentyal and not editing the files directly. Also is there a way to point directly to an internal address?

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: DNS problem
« Reply #1 on: December 16, 2010, 08:15:14 am »
Hi there,

In mail exchanger model, you may set a host in your Zentyal managed domain or any other FQDN host.

For instance, if you have example.com as internal Zentyal domain, then you may set mail as hostname whose IP address is 192.168.12.43. Then, in the mail exchanger model, you may create as mail exchanger the mail host and it will point it to the internal IP address set above.

Hope this helps you.

Best regards,
My secret is my silence...