No DNS Result

Status
Not open for further replies.

CGOODDAY

Member
Aug 15, 2020
32
3
8
46
Hey guys, sweet halo to you all.
I am having a challenge.
1. I have a sub domain(voip.mydomaim.com) that I I created in my domain host and assigned my default server IP(fusionpbx) to.
2. I observed that I was able to create a domain in fusionpbx however,
3. Whenever I use the sub-domain address on the soft phone, it complains of "No DNS Result".
Someone should please tell me what I'm doing wrong.
Also, I can't use the sub-domain in a browser url as it says it doesn't exist but I can log into fusionpbx using the username@sub-domain.

Thank you
 

Timothy J. McGary

New Member
Jul 21, 2017
20
1
3
68
Sounds like the phone is unable to resolve the DNS record for fusionpbx machine. Did you place an A record in your DNS server for the host voip.mydomain.com? Are your telephones and computers on the same subnet? If so open a command prompt window (if you are using windows) and do an nslookup ("C:> nslookup" <enter>, then "voip.mydomain.com") and see if it responds with the IP address of the fusionpbx server. If it doesn't then you have an error in your DNS configuration, if it does then you most likely have a configuration issue on the phone (bad dns server record for example), or your dhcp server is not parsing out the right DNS information.
 

CGOODDAY

Member
Aug 15, 2020
32
3
8
46
I did as directed in the above, I made an A recording pointing my IP address and still, I can't access it online and it doesn't register on soft phone. On soft phone, it keeps complaining on No DNS Result.
Help is needed. Thanks
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,500
414
83
The dig utility can help you to diagnose DNS issues.
For example to see what google makes of this site:
Code:
adrian@a2es-test1:~$ dig @8.8.8.8 www.pbxforums.com

; <<>> DiG 9.11.5-P4-5.1+deb10u8-Debian <<>> @8.8.8.8 www.pbxforums.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25478
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;www.pbxforums.com.        IN    A

;; ANSWER SECTION:
www.pbxforums.com.    3600    IN    A    51.38.77.181

;; Query time: 21 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sat Apr 01 14:19:59 BST 2023
;; MSG SIZE  rcvd: 62

Now see what my local DNS Server reports:
Code:
adrian@a2es-test1:~$ dig @10.6.0.1 www.pbxforums.com

; <<>> DiG 9.11.5-P4-5.1+deb10u8-Debian <<>> @10.6.0.1 www.pbxforums.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13142
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.pbxforums.com.        IN    A

;; ANSWER SECTION:
www.pbxforums.com.    3557    IN    A    51.38.77.181

;; Query time: 0 msec
;; SERVER: 10.6.0.1#53(10.6.0.1)
;; WHEN: Sat Apr 01 14:19:42 BST 2023
;; MSG SIZE  rcvd: 51

In Debian you will find dig in the dnsutils package:
Code:
apt-get install -y dnsutils
 

Timothy J. McGary

New Member
Jul 21, 2017
20
1
3
68
From same machine as soft phone open a command prompt window (presuming your using windows) and ping your voip.mydomain.com and see if it can do the nslookup of your fusionpbx server. If you can't then your issue is most likely your DNS setup, if you can then check the config of your phone DNS settings. Are all addresses private, public or mixed. Is DNS server local or public? Is phone set to use same DNS server you added the A record?
 

CGOODDAY

Member
Aug 15, 2020
32
3
8
46
Thanks to you all guys.
I found over 20 methods how not to do it and finally, one method works seemlessly.
Thanks again to you all. I appreciate
 

mcs3ss2

Active Member
Sep 8, 2020
286
33
28
AU
What worked?
more importantly I want to understand waht was the issue that caused ur error at first place if it was not A record issue.
 

CGOODDAY

Member
Aug 15, 2020
32
3
8
46
What worked?
more importantly I want to understand waht was the issue that caused ur error at first place if it was not A record issue.
Truly, I think it was A Record. But I discovered it has sequence. If not followed, it will either lock you out of your server from the web or deny you saved to your server using your IP.

Pls observe that after many try, this was how it now worked.

1. In my server, I went to Advance
2. Went to Domain and registered the name of the sub-domain
3. I went to my Domain host and
a) First registered it in my A Record
b) Secondly, went to my child domain and created the sub-domain and added my vps IP address and left it to propagate for some hours. Viola, this is what worked out of all the numerous method I tried. Thanks
 
Status
Not open for further replies.