LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 07: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



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 04:40 AM
Virtual Hosts, DNS resolves, PLEASE HELP!! parasbshah Linux - Software 14 10-17-2005 01:38 PM
Any name resolves to. A? CNAME? DNS Q dlublink Linux - Networking 3 01-11-2005 09:55 AM
knoppix 3.4 and no apt-setup how to fix info install apt-file + base-config maximalred Debian 0 10-16-2004 06:36 PM
DNS resolves quickly but lynx extremely slow yichun Debian 2 07-01-2004 09:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:09 PM.

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
Open Source Consulting | Domain Registration