Se for apenas um dominio, utilize o SuperDNS (<a href="http://www.superdns.com.br">www.superdns.com.br</a>) é um serviço que oferece a administração de DNS de um dominio gratuitamente.<br><br>Att,<br>Ricardo<br><br><div class="gmail_quote">
2008/5/13 Rafael Fonseca &lt;<a href="mailto:rafael@informaticaomni.com.br">rafael@informaticaomni.com.br</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Olá Marcus<br>
<br>
Da mesma forma q vc configuraria pra um host normal<br>
<br>
Não sei qual distro vc tah usando no momento mas vc deve configurar 4 coisas<br>
pra ficar ok<br>
1) o Bind<br>
<br>
edite o named.conf, que geralmente fica no /etc/named.conf ou<br>
/etc/bind9/named.conf<br>
e adicione as linhas referentes a sua zona<br>
<br>
cd /etc<br>
<br>
vi named.conf<br>
<br>
zone &quot;<a href="http://dominio.com" target="_blank">dominio.com</a>&quot; {<br>
 &nbsp; &nbsp; &nbsp; &nbsp;type &nbsp; &nbsp;master;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;file &nbsp; &nbsp;&quot;/var/cache/bind/dominio.com.db&quot;;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;notify &nbsp;YES;<br>
};<br>
<br>
<br>
aí vai lá e cria o arquivo q vc colocou pra apontar sua zona<br>
<br>
vi /var/cache/bind/dominio.com.db<br>
<br>
coloca nele as confs do seu domain<br>
<br>
$TTL 12H<br>
$ORIGIN <a href="http://dominio.com" target="_blank">dominio.com</a>.<br>
@ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SOA &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://ns1.dominio.com" target="_blank">ns1.dominio.com</a>.<br>
<a href="http://postmaster.dominio.com" target="_blank">postmaster.dominio.com</a>. (<br>
; dmn [<a href="http://dominio.com" target="_blank">dominio.com</a>] timestamp entry BEGIN.<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2008021301<br>
; dmn [<a href="http://dominio.com" target="_blank">dominio.com</a>] timestamp entry END.<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;8H &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; Refresh<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;15M &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; Retry<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;4W &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; Expire<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3H &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; Minimum TTL<br>
)<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;NS &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://ns1.dominio.com" target="_blank">ns1.dominio.com</a>.<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;NS &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://ns2.dominio.com" target="_blank">ns2.dominio.com</a>.<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MX &nbsp; &nbsp; &nbsp;10 &nbsp; &nbsp; &nbsp;<a href="http://mail.dominio.com" target="_blank">mail.dominio.com</a>.<br>
<br>
<a href="http://dominio.com" target="_blank">dominio.com</a>. &nbsp; &nbsp; IN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://200.200.200.200" target="_blank">200.200.200.200</a><br>
www &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://200.200.200.200" target="_blank">200.200.200.200</a><br>
<a href="http://dominio.com" target="_blank">dominio.com</a>. &nbsp; &nbsp; IN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TXT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;v=spf1 a mx<br>
ip4:<a href="http://200.200.200.200" target="_blank">200.200.200.200</a> ~all&quot;<br>
localhost &nbsp; &nbsp; &nbsp; IN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://127.0.0.1" target="_blank">127.0.0.1</a><br>
mail &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://200.200.200.200" target="_blank">200.200.200.200</a><br>
ns1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://200.200.200.200" target="_blank">200.200.200.200</a><br>
ns2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://200.200.200.200" target="_blank">200.200.200.200</a><br>
sip &nbsp;IN &nbsp;A &nbsp;<a href="http://200.200.200.200" target="_blank">200.200.200.200</a><br>
<br>
; CNAME para emails<br>
imap &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CNAME &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mail<br>
pop &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CNAME &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mail<br>
pop3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CNAME &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mail<br>
relay &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CNAME &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mail<br>
smtp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CNAME &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mail<br>
<br>
; CNAME para web transfer (ftp)<br>
<br>
ftp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CNAME &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; www<br>
pma &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CNAME &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; www<br>
webmail &nbsp; &nbsp; &nbsp; &nbsp; IN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CNAME &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; www<br>
; subdominios.<br>
<br>
sip..<a href="http://dominio.com" target="_blank">dominio.com</a>. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IN &nbsp; &nbsp; &nbsp;A &nbsp; &nbsp; &nbsp; <a href="http://200.200.200.200" target="_blank">200.200.200.200</a><br>
<a href="http://www.sub.dominio.com" target="_blank">www.sub.dominio.com</a>. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IN &nbsp; &nbsp; &nbsp;A &nbsp; &nbsp; &nbsp; <a href="http://200.200.200.200" target="_blank">200.200.200.200</a><br>
<a href="http://ftp.sub.dominio.com" target="_blank">ftp.sub.dominio.com</a>. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IN &nbsp; &nbsp; &nbsp;A &nbsp; &nbsp; &nbsp; <a href="http://200.200.200.200" target="_blank">200.200.200.200</a><br>
<a href="http://localhost.sub.dominio.com" target="_blank">localhost.sub.dominio.com</a>. &nbsp; &nbsp; &nbsp; IN &nbsp; &nbsp; &nbsp;A &nbsp; &nbsp; &nbsp; <a href="http://127.0.0.1" target="_blank">127.0.0.1</a><br>
<br>
<br>
subsititui os ips pelos seus ips sendo ns1 o ip do server principal e ns2 do<br>
secundário, portando diferentes<br>
<br>
aih vc configura o hosts da sua máquina pra apontar certo pro FQDN<br>
<br>
vi /etc/hosts<br>
<br>
coloca lah<br>
<br>
<a href="http://127.0.0.1" target="_blank">127.0.0.1</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;localhost.localdomain &nbsp; &nbsp;localhost<br>
<a href="http://127.0.0.1" target="_blank">127.0.0.1</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://ns1.dominio.com" target="_blank">ns1.dominio.com</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ns1<br>
<a href="http://200.200.200.200" target="_blank">200.200.200.200</a> &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://ns1.dominio.com" target="_blank">ns1.dominio.com</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ns1<br>
<br>
aih vc configura o reverso se ele for necessário (links dedicados, não serve<br>
pro speedy nem pra serviços domésticos de ip fixo)<br>
<br>
Abraços e espero ter ajudado<br>
<br>
Rafael R. Fonseca<br>
<br>
OMNI TI MANAGER<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
----- Original Message -----<br>
From: &quot;Marcus A. Queiroz&quot; &lt;<a href="mailto:marcusdraw@hotmail.com">marcusdraw@hotmail.com</a>&gt;<br>
To: &lt;<a href="mailto:asteriskbrasil@listas.asteriskbrasil.org">asteriskbrasil@listas.asteriskbrasil.org</a>&gt;<br>
Sent: Tuesday, May 13, 2008 12:15 AM<br>
Subject: [AsteriskBrasil] Como utilizar DNS statico com o Trixbox e<br>
asterisk?<br>
<br>
<br>
Olá pessoal,<br>
<br>
me explica como configurar o DNS do asterisk e do tribox.<br>
<br>
Ex: <a href="http://sip.teste.com.br" target="_blank">sip.teste.com.br</a> &nbsp;apontando para um ip valido.<br>
<br>
<br>
Fico grato pela ajuda,<br>
<br>
Abraço,<br>
Marcus<br>
<br>
_______________________________________________<br>
Compre uma camiseta da AsteriskBrasil.org!<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.voipmania.com.br" target="_blank">http://www.voipmania.com.br</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;== <a href="http://VoIPMania.com.br" target="_blank">VoIPMania.com.br</a> ==<br>
<br>
_______________________________________________<br>
Lista de discussões AsteriskBrasil.org<br>
<a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br>
<a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" target="_blank">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br>
<br>
_______________________________________________<br>
Compre uma camiseta da AsteriskBrasil.org!<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.voipmania.com.br" target="_blank">http://www.voipmania.com.br</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;== <a href="http://VoIPMania.com.br" target="_blank">VoIPMania.com.br</a> ==<br>
<br>
_______________________________________________<br>
Lista de discussões AsteriskBrasil.org<br>
<a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br>
<a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" target="_blank">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br>
</div></div></blockquote></div><br>