Tags:
,
view all tags
---+ DNS da Spgrid-Update ---++Description Esta nova versão contém as configuracões atuais da spgrid depois do upgrade. * Editamos o /etc/named.conf <pre> // // named.conf for Red Hat caching-nameserver // options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53; }; // // a caching only nameserver config // controls { inet 127.0.0.1 allow { localhost; } keys { rndckey; }; }; zone "." IN { type hint; file "named.ca"; }; zone "localdomain" IN { type master; file "localdomain.zone"; allow-update { none; }; zone "localhost" IN { type master; file "localhost.zone"; allow-update { none; }; }; zone "0.0.127.in-addr.arpa" IN { type master; file "named.local"; allow-update { none; }; }; //Dominio reverso grid zone "1.168.192.in-addr.arpa" IN{ type master; file "1.168.192.in-addr.arpa.zone"; allow-update { none; }; }; zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN { type master; file "named.ip6.local"; allow-update { none; }; }; zone "255.in-addr.arpa" IN { type master; file "named.broadcast"; allow-update { none; }; }; zone "0.in-addr.arpa" IN { type master; file "named.zero"; allow-update { none; }; }; include "/etc/rndc.key"; </pre> * As configuracoes para o dominio sprace.org.br ficam em /var/named/chroot/var/named, fazendo um cp -p do named.local para estes arquivos e editando: <pre> [root@spgrid named]# more sprace.org.br.zone $TTL 86400 ;Nome do servidor e e-mail do administrador @ IN SOA osg-ce.sprace.org.br. root.osg-ce.sprace.org.br ( 1997022700 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum ;Especificando o servidor de nomes @ IN NS osg-ce.sprace.org.br ;Especificando o servidor de e-mails @ IN MX 5 osg-ce.sprace.org.br ;adicionando endereços @ IN A 200.136.80.4 osg-ce IN A 200.136.80.4 acess IN A 200.136.80.3 ;Adicionando o servidor www www IN CNAME acess </pre> e o reverso <pre> [root@spgrid named]# more 80.136.200.in-addr.arpa.zone $TTL 86400 @ IN SOA osg-ce.sprace.org.br. root.osg-ce.sprace.org.br. ( 1997022700 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum ;Especificando o servidor de nomes @ IN NS osg-ce.sprace.org.br. ;Adicionando os enderecos reversos 3 IN PTR access.sprace.org.br. 4 IN PTR osg-ce.sprace.org.br. </pre> * No caso do dominio grid: <pre> [root@spgrid named]# vim grid.zone $TTL 86400 @ IN SOA spg00.grid. root.spg00.grid. ( 1 ; Serial 8H ; Refresh 2H ; Retry 1W ; Expire 1D ) ; Minimum ;Servidor de nomes @ IN NS spg00.grid. ;Servidor de e-mail @ IN MX 0 spg00.grid. ;Especificando enderecos @ IN A 192.168.1.150 ;(ip do servidor) spg00 IN A 192.168.1.150 ;Adicionando apelidos mail IN CNAME spg00 </pre> e o reverso é feito em <pre> [root@spgrid named]# more 1.168.192.in-addr.arpa.zone $TTL 86400 @ IN SOA spg00.grid. root.spg00.grid. ( 1 ; Serial 8H ; Refresh 2H ; Retry 1W ; Expire 1D ) ; Minimum ;Especificando o servidor de nomes @ IN NS spg00. grid. ;Adicionando endereços reversos 0 IN PTR spg00.grid. </pre> ---++Updates ---+++Fulano em dd/mm/aaaa Coloca o que fez. ---+++Ciclano em dd/mm/aaaa Mais comentarios -- Main.MarcoAndreFerreiraDias - 30 May 2007
Edit
|
Attach
|
P
rint version
|
H
istory
:
r7
|
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r1 - 2007-05-30
-
MarcoAndreFerreiraDias
Home
Site map
Main web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback