FreePBX | Register | Issues | Wiki | Portal | Support

Netborder Gateway DNS Issue

bug
Tags: #<Tag:0x00007f749e9bfe50>

(Itm) #1

Hello,

I am trying to map one local domain with IP address by using Local DNS Server in Netborder SS7 Gateway - but gateway anyway is sending requests to the IP address resolved by external DNS Server, rather than Local DNS Settings.

I’m setting the IP Address/Domain through web-interface, then - when I’m checking the hosts file - it looks good:

10.1.1.10 company-call.domain.com company-call

So, domain company-call.domain.com - should be resolved on 10.1.1.10, and this can be proven by the ping utility:

PING company-call.domain.com (10.1.1.10) 56(84) bytes of data.
64 bytes from company-call.domain.com (10.1.1.10): icmp_seq=1 ttl=64 time=1.34 ms

But, when I’m checking with tcpdump - gateway is using IP Address resolved by External IP Address rather than from the local hosts file. How can i force the Gateway to use information from the hosts file?

This is resolv.conf file content:

[root@gw ~]# cat /etc/resolv.conf
search domain.local
options timeout:1
nameserver 127.0.0.1
nameserver 10.1.1.1

I tried also without “nameserver 127.0.0.1” - but the problem is the same.

Also, I didn’t found any DNS service running locally:

[root@gw ~]# netstat -lnp | grep '53'
unix  2      [ ACC ]     STREAM     LISTENING     12534  2968/master         private/local
unix  2      [ ACC ]     STREAM     LISTENING     12538  2968/master         private/virtual

Version: Netborder SS7 Gateway v5.2.0-121-GA
Thank You.