[Freeswitch-users] : need help on call to gateway
Jean-Yves F. Barbier
12ukwn at gmail.com
Thu Apr 1 07:50:05 PDT 2010
Le Thu, 1 Apr 2010 22:17:48 +0800 (SGT),
false <cucku.cucku at yahoo.com.vn> a écrit :
> Thank you for you recommend
>
> from your recommendation, i add the host name : sip.yeah.com into the
> /etc/hosts
>
> but i am still getting error on DNS
> Failed with status DNS Error [503]
This is because /etc/host.conf isn't configured to first pick a name
into /etc/hosts before a DNS resolution occurs (man host.conf)
But it is usually better to create a specific DNS zone, such as:
; Zone for *.fusionpbx.set
$TTL 1D
$ORIGIN fusionpbx.set.
;
@ IN SOA fusionpbx.set. hostmaster.fusionpbx.set. (
2010030401 ; serial
8H ; refresh
4H ; retry
4W ; expire
1D);
; DNS names
IN NS ns1.fusionpbx.set.
IN NS ns2.fusionpbx.set.
; MX
IN MX 10 mail.fusionpbx.set.
; Virtual Machines & Hosts
IN A 192.168.1.25
ns1 IN A 192.168.1.1
ns2 IN A 192.168.1.2
mail IN A 192.168.1.50
*.fusionpbx.set. IN A 192.168.1.25
This way, you can address any subdomain (but may be that's not what you're
looking for?)
--
"Take that, you hostile sons-of-bitches!"
-- James Coburn, in the finale of _The_President's_Analyst_
More information about the FreeSWITCH-users
mailing list