Networking Troubles
SlackRat
slackrat4Q-MOdoAOVCFFcswetKESUqMA at public.gmane.org
Fri Sep 14 09:04:53 UTC 2007
* "William O'Higgins Witteman" <william.ohiggins-H217xnMUJC0sA/PxXw9srA at public.gmane.org> a écrit profondement:
|
| On Thu, Sep 13, 2007 at 10:33:34PM -0400, Kareem Shehata wrote:
| >
| >> I have set up my first new computer in many years, and happily installed
| >> Debian on it, but I am having a couple of niggling wee problems with
| >> it, and could use a pointer or two.
| >>
| >> The first problem is a lag in outbound networking - only on DNS queries
| >> - pinging an IP gets instant responses, but any DNS resolved ping seems
| >> to be waiting for a timeout. I thought I fixed this once before, but it
| >> has been years since I installed fresh, so I forgot this fix.
| >>
| >> The second problem is that I cannot seem to reach my SMTP smarthost
| >> (teksavvy) with Postfix. The configurations are the same between this
| >> box (working) and the new box (not working).
| >>
| >> Here's a snippet from /var/log/mail.log:
| >>
| >> Sep 13 15:12:20 yam postfix/smtp[7338]: 7DA639F4B0:
| >> to=<address-hcDgGtZH8xNBDgjK7y7TUQ at public.gmane.org>, relay=none, delay=20, delays=0.05/0.02/20/0,
| >> dsn=4.4.3, status=deferred (Host or domain name not found. Name service
| >> error for name=smtp.teksavvy.com type=MX: Host not found, try again)
| >>
| >> I can ping the address, so something else is awry. Any help would be
| >> appreciated, thanks.
| >
| >Sounds like a resolv.conf type problem, that's the first place I would
| >check. Can you post the contents of that file? Also, is your network
| >interface automatically configured (DHCP) or done manually?
|
| resolv.conf:
| nameserver 192.168.1.1
| search gotdns.org
|
| network/interfaces:
| allow-hotplug eth1
| iface eth1 inet static
| address 192.168.1.251
| netmask 255.255.255.0
| network 192.168.1.0
| broadcast 192.168.1.255
| gateway 192.168.1.1
| # dns-* options are implemented by the resolvconf package, if installed
| dns-nameservers 192.168.1.1
| dns-search gotdns.org
|
| >Lastly, with your postfix error, do you have any entries in the hosts file?
| >I don't know much about postfix, but I've seen some mailers that won't use
| >the hosts entries and run exclusively off DNS.
|
| hosts:
| 127.0.0.1 localhost
| 192.168.1.251 yam.gotdns.org yam
|
| Does any of that help?
bash-3.1# cat /etc/resolv.conf
search azurservers.com
nameserver 212.27.53.252
nameserver 212.27.54.252
bash-3.1# cat /etc/hosts
127.0.0.1 localhost
192.168.0.1 azurservers.com darkstar
192.168.0.2 azurservers.com darkstar1
192.168.0.254 gateway
82.242.110.54 azurservers.com
This works just fine for me
--
SlackRat - 4Q to Reply
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list