Obsolete Releases > SME 8.x Contribs

How i know my external dns is working or not

(1/2) > >>

ahmedsa:
Hi I have mail server sme
it is already send and receive emails from outside my domain no problem in that
but When i ping to my external dns it not ping and it give me as following
[root@mserver ~]# ping 212.93.192.5
PING 212.93.192.5 (212.93.192.5) 56(84) bytes of data.
this ping from mail server
Are there are any way to test dns work or not

stephdl:
your external dns server doesn't answer to pinq requests, It is the same here on my computer.
eventually you can request a dns question to your external dns like this


--- Code: ---dig any your_dns_name @212.93.192.5
--- End code ---

ahmedsa:
Thanks for reply
I write command as following and this is my result
login as: root
root@192.168.1.4's password:
Last login: Sun Aug  9 10:03:02 2015 from 192.168.1.105
[root@mserver ~]# dig 212.93.192.5

; <<>> DiG 9.2.4 <<>> 212.93.192.5
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52083
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;212.93.192.5.                  IN      A

;; ANSWER SECTION:
212.93.192.5.           655360  IN      A       212.93.192.5

;; Query time: 11 msec
;; SERVER: 192.168.1.4#53(192.168.1.4)
;; WHEN: Sun Aug  9 11:07:08 2015
;; MSG SIZE  rcvd: 46
Are this meaning it is work good or not
please help me

janet:
ahmedsa

Try using the command you were advised

dig any altawi.com.sa @212.93.192.5

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-25.P1.el5_11.3 <<>> any altawi.com.sa @212.93.192.5
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64393
;; flags: qr aa rd; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;altawi.com.sa.                 IN      ANY

;; ANSWER SECTION:
altawi.com.sa.          14400   IN      MX      1 altawi.com.sa.
altawi.com.sa.          14400   IN      MX      0 mserver.altawi.com.sa.
altawi.com.sa.          86400   IN      NS      ns2.awalnet.net.sa.
altawi.com.sa.          86400   IN      NS      webx1.awalnet.com.
altawi.com.sa.          14400   IN      A       212.93.222.10
altawi.com.sa.          86400   IN      SOA     webx1.awalnet.com. aoulah.stcas.com.sa. 2015073002 86400 7200 3600000 86400

;; Query time: 429 msec
;; SERVER: 212.93.192.5#53(212.93.192.5)
;; WHEN: Sun Aug  9 22:29:40 2015
;; MSG SIZE  rcvd: 197

ahmedsa:
Thank you for reply
my question if dns have problems
what answer it must show to me
what answer must show to me if there are any wrong in dns

Navigation

[0] Message Index

[#] Next page

Go to full version