Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
name resolution error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Sat Dec 18, 2004 11:27 pm    Post subject: name resolution error Reply with quote

Hello, i am ahving problems with a new install on another machine, when i try and run emerge sync or try and emerge an app it fails with name resolution error.

I have checked configs against my main machine which is working fine and all seems ok.

error for emerge sync

Code:

 root # emerge sync
Notice: (-2, 'Name or service not known')
>>> starting rsync with rsync://rsync.europe.gentoo.org/gentoo-portage...
>>> checking server timestamp ...
rsync: getaddrinfo: rsync.europe.gentoo.org 873: Temporary failure in name res olution
rsync error: error in socket IO (code 10) at clientserver.c(88)
>>> retry ...
Notice: (-2, 'Name or service not known')


>>> Starting retry 1 of 3 with rsync://rsync.europe.gentoo.org/gentoo-portage
>>> checking server timestamp ...
rsync: getaddrinfo: rsync.europe.gentoo.org 873: Temporary failure in name res olution
rsync error: error in socket IO (code 10) at clientserver.c(88)



Ok just tried pinging my firewall router it can't find it, but i can ping other computers on network.

any ideas where i should look.

cheers
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
sism82
n00b
n00b


Joined: 14 Jul 2004
Posts: 44
Location: Mexico

PostPosted: Sat Dec 18, 2004 11:58 pm    Post subject: Reply with quote

hi, im kind of new in this things, but have you tried to use another sync server?
_________________
Be near me when my light is low,
When the blood creeps, and the nerves prick
And tingle; and the heart is sick,
And all the wheels of Being slow.
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Sun Dec 19, 2004 12:08 am    Post subject: Reply with quote

sism82 wrote:
hi, im kind of new in this things, but have you tried to use another sync server?


As said i have main computer on same network with same settings and it works fine.


Think it maybe due to the fact that this install was done on main machine in chroot the tarballed and copied over to new machine. A coupe of apps i have installed do not work so think that the tar did not get all files.


What app would i need to rebuild to cure this issue?

can copy ebuild from main pc ok.
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
ewtrowbr
Apprentice
Apprentice


Joined: 08 May 2004
Posts: 153
Location: Columbus, OH

PostPosted: Sun Dec 19, 2004 5:49 am    Post subject: Reply with quote

pet peeve of mine that gentoo doesn't arrive with bind-tools or vim....

try ping 4.2.2.1 (genuity name server).
set resolv.conf with nameserver 4.2.2.1.

try again.

erich
Back to top
View user's profile Send private message
ewtrowbr
Apprentice
Apprentice


Joined: 08 May 2004
Posts: 153
Location: Columbus, OH

PostPosted: Sun Dec 19, 2004 5:53 am    Post subject: Reply with quote

also try in /etc/hosts...

130.230.54.100 rsync.europe.gentoo.org

Also, make sure you have tcp allowed inbound of port 53 to your host. SOmetimes large dns replies are sent using tcp rather than UDP, and confuses some firewalls. rsync.europe.gentoo.org pulls down a pile of A records.

erich

root@spam postfix # dig rsync.europe.gentoo.org

; <<>> DiG 9.2.3 <<>> rsync.europe.gentoo.org
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3467
;; flags: qr rd ra; QUERY: 1, ANSWER: 22, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;rsync.europe.gentoo.org. IN A

;; ANSWER SECTION:
rsync.europe.gentoo.org. 1644 IN A 130.230.54.100
rsync.europe.gentoo.org. 1644 IN A 132.229.67.201
rsync.europe.gentoo.org. 1644 IN A 134.147.32.57
rsync.europe.gentoo.org. 1644 IN A 134.184.49.5
rsync.europe.gentoo.org. 1644 IN A 137.226.34.228
rsync.europe.gentoo.org. 1644 IN A 140.105.134.102
rsync.europe.gentoo.org. 1644 IN A 147.32.127.222
rsync.europe.gentoo.org. 1644 IN A 147.91.8.58
rsync.europe.gentoo.org. 1644 IN A 160.45.117.66
rsync.europe.gentoo.org. 1644 IN A 193.190.198.20
rsync.europe.gentoo.org. 1644 IN A 194.97.4.250
rsync.europe.gentoo.org. 1644 IN A 195.86.128.57
rsync.europe.gentoo.org. 1644 IN A 195.149.39.120
rsync.europe.gentoo.org. 1644 IN A 195.238.1.14
rsync.europe.gentoo.org. 1644 IN A 212.93.157.200
rsync.europe.gentoo.org. 1644 IN A 212.101.4.244
rsync.europe.gentoo.org. 1644 IN A 213.221.124.132
rsync.europe.gentoo.org. 1644 IN A 62.75.252.192
rsync.europe.gentoo.org. 1644 IN A 80.190.233.33
rsync.europe.gentoo.org. 1644 IN A 80.190.246.242
rsync.europe.gentoo.org. 1644 IN A 81.223.20.162
rsync.europe.gentoo.org. 1644 IN A 82.129.5.25

;; Query time: 2 msec
;; SERVER: 10.0.0.11#53(10.0.0.11)
;; WHEN: Sat Dec 18 23:53:25 2004
;; MSG SIZE rcvd: 393
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Sun Dec 19, 2004 11:35 am    Post subject: Reply with quote

thanks for replies, true nameserver suggestion but did not work, like i said i can connect from main pc ok, can connect form the chroot install on main machine but when i move new install over to new box this is when i get the problems.

Now i do have hardened in USE= but only using gento-dev-sources at moment, will move over to hardened kernel once get system working.


What could be stopping system reaching firewall/router but allowing connection to other boxs on network?
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
blake121666
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2004
Posts: 75
Location: Catonsville, MD

PostPosted: Sun Dec 19, 2004 1:25 pm    Post subject: Re: name resolution error Reply with quote

carpman wrote:
Ok just tried pinging my firewall router it can't find it, but i can ping other computers on network.


Can you ping your firewall from other machines?

You never mentioned if you tried to ping that ip address (4.2.2.1). If you can't reach the Internet, you have to figure out why that is.

Do you have an IP address conflict with that other server you mentioned? Maybe the firewall has that server's mac in its arp table for your new machine's IP address. Try to ping your new box from the firewall and verify macs with an "arp -a" on the firewall. Flush the firewall's arp cache, reboot the firewall, ... stuff along these lines seems like logical troubleshooting given your ping problem.
_________________
--Blake
Back to top
View user's profile Send private message
PLANT PROTECTION
n00b
n00b


Joined: 16 Dec 2004
Posts: 9

PostPosted: Tue Dec 21, 2004 5:07 am    Post subject: Reply with quote

I am having the same problem on my machine, 'Temporary failure in name resolution.' I can ping/connect to my router and the internet fine also.
Back to top
View user's profile Send private message
grayeyes
n00b
n00b


Joined: 12 Dec 2004
Posts: 26

PostPosted: Tue Dec 21, 2004 4:05 pm    Post subject: Temorary Name failure, (name resolution) Reply with quote

I am having the same problem. I have also installed gentoo-dev-sources.
Kerenel 2.6.9-r9.

I have managed to download about 1 in 15 tries. The error I seem to get is in the euro site ftp://ftp6.uni-erlangen.de

I have tried to bypass the firewall and it didn't make any difference. Still get the Temporary Name Failure in ....

Help
Back to top
View user's profile Send private message
Alithecoaster
n00b
n00b


Joined: 01 Dec 2004
Posts: 4

PostPosted: Tue Dec 21, 2004 8:25 pm    Post subject: Reply with quote

yaps i'am having the same trouble and the mirror uni erlangen.de is my favourite download location... what we gonna do? and what is it exactly? i tried many kernel options and in my local network everything goes fine (more or less).

sometime my pc freezes by trying to abort emerge --sync... and i need to do it.

so i got no data through the interne to fix this... does this mean... i got to reinstall gentoo. (stage1 installation which took me muchas horars)

...
(i got a nforce 3 150 ((could be interisting)))
(and i got the same kernel as my pal's above me)
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Tue Dec 21, 2004 10:02 pm    Post subject: Reply with quote

Hello, this not a network problem as other gentoo boxs connect fine with same settings, it is something with this new install and has happened on last two installs.

What settings could it possible be?
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
stealthy
Tux's lil' helper
Tux's lil' helper


Joined: 08 Aug 2002
Posts: 118
Location: ONTARIO CANADA

PostPosted: Tue Dec 21, 2004 10:13 pm    Post subject: Reply with quote

Have you checked your /etc/resolv.conf for correct dns servers
and what do you get when you type
Code:
route


whats the default IP

For eg.
Code:
lithium ~ # ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:0D:88:36:C9:24
          inet addr:192.168.70.55  Bcast:192.168.70.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:238177 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16095 errors:0 dropped:0 overruns:0 carrier:0
          collisions:7 txqueuelen:1000
          RX bytes:37460375 (35.7 Mb)  TX bytes:1620487 (1.5 Mb)
          Interrupt:18 Base address:0xec00

lithium ~ # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.70.0    *               255.255.255.0   U     0      0        0 eth0
loopback        lithium.local   255.0.0.0       UG    0      0        0 lo
default         192.168.70.1    0.0.0.0         UG    0      0        0 eth0
lithium ~ # 

Thats my net settings.
from ifconfig I can verify that i have correct ip, broadcast and sunet
from route I can verify that my gateway is set correctly
and moreover my resolv.conf has correct dns servers

Have you checked all of that...while also ensuring that you don't have a duplicate ip on the network.
_________________
All your Gentoo are belong to us.
Back to top
View user's profile Send private message
blake121666
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2004
Posts: 75
Location: Catonsville, MD

PostPosted: Wed Dec 22, 2004 12:14 am    Post subject: Reply with quote

It appears that the nameservers for uni-erlangen.de are messed up. But that isn't the original poster's problem. His problem was that a specific box on his own network couldn't sync across the Internet whereas another one could. So these additional postings about uni-erlangen.de don't apply to him.

For the uni-erlangen.de problem, the uni-erlangen.de nameservers need to be corrected. Since the SOA record shows the responsible mail address within the uni-erlangen.de domain itself (and hence doesn't resolve), that's no help. I haven't been a dns administrator for about 10 years now and don't know how to figure who to contact for uni-erlangen.de. I can't find any info with an INTERNIC whois.
_________________
--Blake
Back to top
View user's profile Send private message
blake121666
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2004
Posts: 75
Location: Catonsville, MD

PostPosted: Wed Dec 22, 2004 12:23 am    Post subject: Reply with quote

carpman wrote:
Hello, this not a network problem as other gentoo boxs connect fine with same settings, it is something with this new install and has happened on last two installs.

What settings could it possible be?


You haven't answered any of the questions posed to you to elaborate on what exactly your problem is. The problem is that this new box you've setup can't get packets past your firewall to the Internet, right?

Can you ping 4.2.2.1?

Can you resolve *any* names?
_________________
--Blake
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Wed Dec 22, 2004 12:42 am    Post subject: Reply with quote

Thanks for reply, this is what i get:

Code:

 #route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
loopback        localhost       255.0.0.0       UG    0      0        0 lo
default         wormhole        0.0.0.0         UG    0      0        0 eth0



Code:

# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:40:F4:58:55:3D
          inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80: :250:daff:fe91:f5c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:18  errors:0 dropped:0 overruns:0 frame:0
          TX packets:56  errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1954 (1.9 kb)  TX bytes:3726 (3.6 kb)
          Interrupt:16 Base address:0x2000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:15 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1426  (1.3 Kb)  TX bytes:1426  (1.3 Kb)




I have checked resolv.conf and that is ok, except for ip address it is same as working system. IP does not conflict with on network.
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Wed Dec 22, 2004 12:48 am    Post subject: Reply with quote

blake121666 wrote:
carpman wrote:
Hello, this not a network problem as other gentoo boxs connect fine with same settings, it is something with this new install and has happened on last two installs.

What settings could it possible be?


You haven't answered any of the questions posed to you to elaborate on what exactly your problem is. The problem is that this new box you've setup can't get packets past your firewall to the Internet, right?

Can you ping 4.2.2.1?

Can you resolve *any* names?



Yes i can ping 4.2.2.1, i can also ping the box from firewall, and from the box i can other pc on network.

What i can't do is connect to the net from box concerned, nether can i ssh to it or from it, i do have hardened in USE= so wondering if some security setting may need editing?

cheers
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Wed Dec 22, 2004 1:14 am    Post subject: Reply with quote

Ok sorted, in resolv.conf i had

Code:

domain mydomain.com
nameserver 192.168.1.1


By having 'domain' instead of computer host name it was looking up the domains real nameserver rather then staying on local network.

Little bit further up that learning curve now :)

thanks for help
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum