View previous topic :: View next topic |
Author |
Message |
rivitir Tux's lil' helper
Joined: 04 Oct 2005 Posts: 105
|
Posted: Wed Feb 22, 2006 7:12 pm Post subject: DNS resolv issue? [SOLVED] |
|
|
I've noticed that I'm having to type in the FQDN to find hostnames (ping, nslookup, etc.), how can I correct the order so it will search the domains in oder and so I don't have to type in the FQDN?
For example:
Code: |
~ # nslookup server
Server: 37.20.13.3
Address: 37.20.13.3#53
** server can't find server: SERVFAIL
~ # nslookup server.domain.name.com
Server: 37.20.13.3
Address: 37.20.13.3#53
Name: server.domain.name.com
Address: 37.20.13.32
|
Thanks
Last edited by rivitir on Wed Feb 22, 2006 7:42 pm; edited 1 time in total |
|
Back to top |
|
|
kands Tux's lil' helper
Joined: 01 Apr 2003 Posts: 138 Location: Vancouver Island, Canada
|
Posted: Wed Feb 22, 2006 7:14 pm Post subject: |
|
|
can you post your /etc/resolv.conf? _________________ http://www.brokenspoke.ca
Have you broken your spoke today? |
|
Back to top |
|
|
rivitir Tux's lil' helper
Joined: 04 Oct 2005 Posts: 105
|
Posted: Wed Feb 22, 2006 7:32 pm Post subject: |
|
|
It's somthing like this:
Code: |
#Generated by dhcpcd for interface eth0
domain servers.domain.com clients.domain.com printers.domain.com domain.com
nameserver 37.20.13.3
|
I added the clients.domain.com, printers.domain.com, and domain.com to the domain line. I've done this before in my slackware system and it worked so I figured it would work in Gentoo.[/code][/quote] |
|
Back to top |
|
|
kands Tux's lil' helper
Joined: 01 Apr 2003 Posts: 138 Location: Vancouver Island, Canada
|
Posted: Wed Feb 22, 2006 7:38 pm Post subject: |
|
|
Are you trying to specify that your gentoo machine is part of multiple domains (printers, servers, clients) or do you want to search those subdomains under domain.com to resolve ip's/names?
You might want to try something like this:
domain domain.com
search servers.domain.com clients.domain.com printers.domain.com domain.com
nameserver 37.20.13.3 _________________ http://www.brokenspoke.ca
Have you broken your spoke today? |
|
Back to top |
|
|
rivitir Tux's lil' helper
Joined: 04 Oct 2005 Posts: 105
|
Posted: Wed Feb 22, 2006 7:42 pm Post subject: |
|
|
Thats exactly what I needed!!! Thanks!
I wanted to search the subdomain order under domain.com.
Thanks for all your help. |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Fri Feb 24, 2006 12:00 pm Post subject: |
|
|
rivitir wrote: | It's somthing like this:
Code: |
#Generated by dhcpcd for interface eth0
domain servers.domain.com clients.domain.com printers.domain.com domain.com
nameserver 37.20.13.3
|
I added the clients.domain.com, printers.domain.com, and domain.com to the domain line. I've done this before in my slackware system and it worked so I figured it would work in Gentoo.[/code] |
That will be fixed in dhcpcd-2.0.2 - hopefully out next week.
dhclient and udhcpc will be fixed in a similar way in baselayout-1.12.0_pre17 _________________ Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool |
|
Back to top |
|
|
|