<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
Hello
<div><br>
</div>
<div>First of all , check your bind server that listens port 53 by netstat -nat</div>
<div><br>
</div>
<div>Secondly , check your resolv.conf that nameserver is your bindserver. </div>
<div><br>
</div>
<div>Lastly , you can check your domain with dig command </div>
<div><br>
</div>
<div>Dig @bindserverip A <a href="http://pcscf.kamailio-ims.org">pcscf.kamailio-ims.org</a></div>
<div>Or you can see ur server query which ip by</div>
<div>dig <a href="http://pcscf.kamailio-ims.org">pcscf.kamailio-ims.org</a></div>
<div>For naptr</div>
<div>Dig napt <a href="http://domain-name.org">domain-name.org</a></div>
<div>For srv </div>
<div>Dig srv <a href="http://domain-name.org">domain-name.org</a></div>
<div><br>
</div>
<div>Good luck. </div>
<div><br>
</div>
<div>Yasin Caner</div>
<div><br>
<br>
<div id="AppleMailSignature">iPhone’umdan gönderildi</div>
<div><br>
Yağız AYDIN <<a href="mailto:ygzaydns@gmail.com">ygzaydns@gmail.com</a>> şunları yazdı (8 Oca 2019 16:06):<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Hello, I am trying to implement Kamailio as IMS system. I have followed tutorial linked below:</div>
<div><br>
</div>
<div><a href="https://www.kamailio.org/wiki/tutorials/ims/installation-howto">https://www.kamailio.org/wiki/tutorials/ims/installation-howto</a></div>
<div><br>
</div>
<div>When I try to configure my DNS, I cannot ping cscf modules on my local network, however when I'm on wireless, I can ping them.<br>
<br>
</div>
<div>Config:</div>
<div><br>
</div>
<div>kamailio-ims.org.dnszone<br>
<br>
$ORIGIN <a href="http://kamailio-ims.org">kamailio-ims.org</a>.<br>
$TTL 1W<br>
@                       1D IN SOA       localhost. root.localhost. (<br>
                                        2006101001      ; serial<br>
                                        3H              ; refresh<br>
                                        15M             ; retry<br>
                                        1W              ; expiry<br>
                                        1D )            ; minimum<br>
<br>
                        1D IN NS        ns<br>
ns                      1D IN A         127.0.0.1<br>
<br>
pcscf                   1D IN A         127.0.0.1<br>
_sip.pcscf              1D SRV 0 0 5060 pcscf<br>
_sip._udp.pcscf         1D SRV 0 0 5060 pcscf<br>
_sip._tcp.pcscf         1D SRV 0 0 5060 pcscf<br>
<br>
<br>
icscf                   1D IN A         127.0.0.1<br>
_sip                    1D SRV 0 0 5060 icscf<br>
_sip._udp               1D SRV 0 0 5060 icscf<br>
_sip._tcp               1D SRV 0 0 5060 icscf<br>
<br>
<a href="http://kamailio-ims.org">kamailio-ims.org</a>.       1D IN A         127.0.0.1<br>
<a href="http://kamailio-ims.org">kamailio-ims.org</a>.       1D IN NAPTR 10 50 "s" "SIP+D2U"    ""    _sip._udp<br>
<a href="http://kamailio-ims.org">kamailio-ims.org</a>.       1D IN NAPTR 20 50 "s" "SIP+D2T"    ""    _sip._tcp<br>
<br>
scscf                   1D IN A         127.0.0.1<br>
_sip.scscf              1D SRV 0 0 5060 scscf<br>
_sip._udp.scscf         1D SRV 0 0 5060 scscf<br>
_sip._tcp.scscf         1D SRV 0 0 5060 scscf<br>
<br>
hss                     1D IN A         127.0.0.1<br>
<br>
</div>
<div>named.conf.options<br>
<br>
options {<br>
    directory "/var/cache/bind";<br>
<br>
    // If there is a firewall between you and nameservers you want<br>
    // to talk to, you may need to fix the firewall to allow multiple<br>
    // ports to talk.  See <a href="http://www.kb.cert.org/vuls/id/800113">http://www.kb.cert.org/vuls/id/800113</a><br>
<br>
    // If your ISP provided one or more IP addresses for stable <br>
    // nameservers, you probably want to use them as forwarders.  <br>
    // Uncomment the following block, and insert the addresses replacing <br>
    // the all-0's placeholder.<br>
<br>
    // forwarders {<br>
    //     127.0.0.1;<br>
    // };<br>
<br>
    //========================================================================<br>
    // If BIND logs error messages about the root key being expired,<br>
    // you will need to update your keys.  See <a href="https://www.isc.org/bind-keys">
https://www.isc.org/bind-keys</a><br>
    //========================================================================<br>
    dnssec-validation auto;<br>
<br>
    auth-nxdomain no;    # conform to RFC1035<br>
    listen-on-v6 { any; };<br>
};<br>
<br>
<br>
</div>
<div>named.conf.local<br>
<br>
//<br>
// Do any local configuration here<br>
//<br>
<br>
// Consider adding the 1918 zones here, if they are not used in your<br>
// organization<br>
//include "/etc/bind/zones.rfc1918";<br>
<br>
zone "<a href="http://kamailio-ims.org">kamailio-ims.org</a>" {<br>
            type master;<br>
            file "/etc/bind/kamailio-ims.org.dnszone";<br>
};<br>
<br>
</div>
<div>dhclient.conf<br>
<br>
# Configuration file for /sbin/dhclient.<br>
#<br>
# This is a sample configuration file for dhclient. See dhclient.conf's<br>
#    man page for more information about the syntax of this file<br>
#    and a more comprehensive list of the parameters understood by<br>
#    dhclient.<br>
#<br>
# Normally, if the DHCP server provides reasonable information and does<br>
#    not leave anything out (like the domain name, for example), then<br>
#    few changes must be made to this file, if any.<br>
#<br>
<br>
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;<br>
<br>
send host-name = gethostname();<br>
request subnet-mask, broadcast-address, time-offset, routers,<br>
    domain-name, domain-name-servers, domain-search, host-name,<br>
    dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers,<br>
    netbios-name-servers, netbios-scope, interface-mtu,<br>
    rfc3442-classless-static-routes, ntp-servers;<br>
<br>
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;<br>
#send dhcp-lease-time 3600;<br>
#supersede domain-name "<a href="http://fugue.com">fugue.com</a> <a href="http://home.vix.com">
home.vix.com</a>";<br>
prepend domain-name-servers 127.0.0.1;<br>
#require subnet-mask, domain-name-servers;<br>
timeout 300;<br>
#retry 60;<br>
#reboot 10;<br>
#select-timeout 5;<br>
#initial-interval 2;<br>
#script "/sbin/dhclient-script";<br>
#media "-link0 -link1 -link2", "link0 link1";<br>
#reject 192.33.137.209;<br>
<br>
#alias {<br>
#  interface "eth0";<br>
#  fixed-address 192.5.5.213;<br>
#  option subnet-mask 255.255.255.255;<br>
#}<br>
<br>
#lease {<br>
#  interface "eth0";<br>
#  fixed-address 192.33.137.200;<br>
#  medium "link0 link1";<br>
#  option host-name "<a href="http://andare.swiftmedia.com">andare.swiftmedia.com</a>";<br>
#  option subnet-mask 255.255.255.0;<br>
#  option broadcast-address 192.33.137.255;<br>
#  option routers 192.33.137.250;<br>
#  option domain-name-servers 127.0.0.1;<br>
#  renew 2 2000/1/12 00:00:01;<br>
#  rebind 2 2000/1/12 00:00:01;<br>
#  expire 2 2000/1/12 00:00:01;<br>
#}<br>
<br>
</div>
<div>Thanks for helps,<br>
</div>
<div>Yağız<br>
</div>
<div><br>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr"><br>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>Kamailio (SER) - Users Mailing List</span><br>
<span><a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a></span><br>
<span><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a></span><br>
</div>
</blockquote>
</div>
</body>
</html>