> Mi archivo /etc/resolve.conf contiene:
>
> # Generated by NetworkManager
> search holando
> nameserver 192.168.1.25
>
>
> Como puedo establecer la configuracion para que me resuelva los nombres
> host microsoft y que no me afecte la resolucion dns externos para navegar??
Buenas
Yo lo tengo asi:
### /etc/network/interfaces###
# The primary network interface
allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.xxx.xxx
netmask 255.255.255.0
network 192.168.xxx.xxx
broadcast 192.168.xxx.255
gateway 192.168.xxx.xxx
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.xxx.xxx
dns-search cosmantenimiento.com
Pero no he podido nunca hacer ping con el nombre a secas. debo utilizar
todo el nombre ( FQDN creo que se dice):
ping nombre.dominio.com
srvbacula:~# ping jjarce
ping: unknown host jjarce
srvbacula:~# ping jjarce.cosmantenimiento.com
PING jjarce.cosmantenimiento.com (192.168.xxx.xxx) 56(84) bytes of data.
64 bytes from jjarce.cosmantenimiento.com (192.168.xxx.xxx): icmp_req=1
ttl=128 time=0.924 ms
64 bytes from jjarce.cosmantenimiento.com (192.168.xxx.xxx): icmp_req=2
ttl=128 time=0.393 ms
Suerte y un saludo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNQEY8AAoJEOWNzQnqy+fzhWwIAJm7kRDtbEJYBzeWF2JFftbF
lO/cjTnAfO2qUWSY+I5Y6jytmGvpP4hRWZawWBvXNfPa6nUMX0qZQmdWAkpJjqrv
lZPS23OKpJclf0T9BQoQ3oP6x+U3/pmyeKZ3LfhCa88CS0Pt4LpjNRM4pSnpoYr3
rOPgYwqsqH0Psq64XHh5brwoE/aSD676xo+kPgW/GO3bBE305VY46ss33RfBsWMt
8TIVWSEQbNgkY31SibmiBZq8WePppJzwpbpjVdPWWzc+Xid4UpFu2z/CZjutjALW
hH+CvUC2bXiswsK2Zeslmv9C+ZDIYMULYaURNoa223FiHnBAMSeEsu7vqcb8ITc=
=FHRs
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-user-s...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/BLU0-SMTP2084CC34A...@phx.gbl
Con el cambio que mencione en el archivo /etc/nsswitch.conf puedo hacer
un ping a secas como decis que es lo que me interesa.
andres@nano:~$ ping chelo
PING chelo (192.168.1.79) 56(84) bytes of data.
64 bytes from 192.168.1.79: icmp_req=1 ttl=128 time=27.3 ms
64 bytes from 192.168.1.79: icmp_req=2 ttl=128 time=25.2 ms
64 bytes from 192.168.1.79: icmp_req=3 ttl=128 time=30.2 ms
^C
--- chelo ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 25.229/27.605/30.211/2.044 ms.
Si lo vuelvo a la configuracion original no!!!
andres@nano:~$ ping chelo
ping: unknown host chelo.
Mi archivo de configuracion /etc/network/interfaces es el seguiente:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
# allow-hotplug eth0
# iface eth0 inet dhcp
# Configuracion manual Red Cableada eth0
#auto eth0
#iface eth0 inet static
# address 192.168.1.78
# network 192.168.1.0
# netmask 255.255.254.0
# broadcast 192.168.1.255
# gateway 192.168.1.1
Como veras esta practicamente todo comentado. Asi me establecio la
configuracion manual el network-manager. Si establesco los parametros en
dicho archivo de forma manual el network manager me poner red no
gestionada.
--
To UNSUBSCRIBE, email to debian-user-s...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
> Si lo vuelvo a la configuracion original no!!!
Acabo de revisar una maquina recién instalada y el archivo esta asi
cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
Solo instale con apt-get el smbfs y el samba. Lo mismo alguno me lo edito.
De todas formas.... hay por ahi una firma, que pone que "mas vale ensayo
y error que leer documentacion" XD prueba a ir eliminando opcion por
opcion a ver si consigues que la resolucion sea mas rapida, pero puede
que el problema este en tu servidor dns ( yo soy un neofito en todo
esto, que conste)
Suerte y un saludo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNQFBBAAoJEOWNzQnqy+fz/qIH/Rh2eQCa7Md1F2trN8moitm6
Pjbsp0uQvEsKibZG8x5VzwLppTxnU+tjCG9ibH/oLf+LqVXHQPtHP/Mg8WSNk3BO
nWaOEHelpPiu3PiI/9hgC7+g5o1GGLZH6eYcaqZPwO71kFSLIX/ga4vtg7iKzZs9
a2NExMzrMItkA+yI6NpAtJBSa/YgyxcpGGmpFiikMFmFCqAF0ce9M+wqKektd+fq
74XMX98bmRfgOvRWxvUHoj6ZPESLdx9WbuWsf4FivRP6VskbNfS5Bgu/+k6ypl1Z
7bqFT82eHx/jK290OkfUi+yLbqZXKeuwqJKXJ2WPxVgfhrQq0Iuktxpir/WOG7M=
=zjNk
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-user-s...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/BLU0-SMTP179D6C527...@phx.gbl
Lo que no tengo idea es que significan los parametros de la
configuracion original.
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4.
Bueno seguire buscando a ver que vuelta le encuentro.
Gracias por tus respuestas!
PD: Proba ese cambio vas a ver que te resuelve el ping a secas a un host
microsoft pero es notable la lentitud en resolverlo. Esta lentitud en la
resolucion dns es la que me hace lenta la navegacion. (la resolucion es
lenta para equipos host de la lan como para host externos)
--
To UNSUBSCRIBE, email to debian-user-s...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Solo le cargue wins al final de la linea hosts.
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 wins
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
Ya puedo hacer ping por nombre de host a los terminales microsoft y
navegar normalmente.
Gracias
--
To UNSUBSCRIBE, email to debian-user-s...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org