LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 04-09-2006, 08:46 AM   #1
benjeeqds
LQ Newbie
 
Registered: Mar 2006
Posts: 5

Rep: Reputation: 0
Lightbulb Fix: 'apt-get update' dns resolves to 1.0.0.0


I had a problem today which I thought I would share with you.

When I was using 'apt-get update' it kept trying to connect to the IP address 1.0.0.0.

This is the message I got:
Code:
# apt-get update
Err http://ftp.us.debian.org testing/main Packages
Could not connect to ftp.us.debian.org:80 (1.0.0.0),
connection timed out
Err http://secure-testing.debian.net
etch/security-updates/main Packages
Could not connect to secure-testing.debian.net:80
(1.0.0.0), connection timed out
Err http://ftp.us.debian.org testing/main Release
Could not connect to ftp.us.debian.org:80 (1.0.0.0),
connection timed out
Err http://secure-testing.debian.net
etch/security-updates/main Release
Could not connect to secure-testing.debian.net:80
(1.0.0.0), connection timed out
0% [Connecting to secure-testing.debian.net (1.0.0.0)]
[Connecting to ftp.us.debian.org (1.0.0.0)]
[1]+ Stopped apt-get update
This is how I fixed it:

From GNOME... System > Admistration > Networking > DNS

I then removed the DNS server 10.1.1.1 (my D-Link Router) and manually added xxx.xxx.xxx.xxx and yyy.yyy.yyy.yyy, which are my ISP's DNS servers. (Substitute x & y for your own ISP's DNS servers)

After a reboot 'apt-get update' worked fine.


Hope that helps somebody.


The problem happened on Ubuntu and Fedora Core.

Ben

www.qdsecurity.com
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Customizing DNS Cache so that it resolves mail.localdomain.com to local ip address gugabaga Linux - Networking 2 02-22-2006 05:40 AM
Virtual Hosts, DNS resolves, PLEASE HELP!! parasbshah Linux - Software 14 10-17-2005 02:38 PM
Any name resolves to. A? CNAME? DNS Q dlublink Linux - Networking 3 01-11-2005 10:55 AM
knoppix 3.4 and no apt-setup how to fix info install apt-file + base-config maximalred Debian 0 10-16-2004 07:36 PM
DNS resolves quickly but lynx extremely slow yichun Debian 2 07-01-2004 10:08 PM


All times are GMT -5. The time now is 10:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration