LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-29-2005, 09:03 AM   #1
salterl
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Rep: Reputation: 0
mandrake 10.2 and stopping dns


I have installed Mandrake 10.2 and LPRng on a Dell PC to act as a print server between UNIX servers and Xcell Terminal servers. When trying to print to this server from a UNIX server it takes about 3 minutes to reach the printer. When I add the hostname of the UNIX server to /etc/hosts on the print server this is reduced by half. I think the problem is connected to reverse DNS lookup and wondered if there was any way to switch off dns and use static routing. Alternatively is there a way of stopping LPRng from using dns. Thanks.
 
Old 09-30-2005, 06:02 PM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
Check the command route. It will probably help you.
 
Old 10-05-2005, 05:48 AM   #3
salterl
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks. I can use the route command to add a static route, but is there a way of stopping dns on the Linux server?
 
Old 10-05-2005, 09:35 AM   #4
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
Hope this helps: you probably have to remove the content of /etc/resolv.conf. You can also do some static ethx configuration. You can enable a dns server on the print server too. There's probably other ways but i don't know'em.
 
Old 10-05-2005, 06:21 PM   #5
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
I think the problem is connected to reverse DNS lookup and wondered if there was any way to switch off dns and use static routing
That's exactly what you just did - you created a static entry in /etc/hosts and that overrides DNS. You've already solved your problem.

Routing is a completely different thing and using the route command won't help you in this case. Routing doesn't translate host/domain names to IP addresses, it specifies where packets destined for particular networks should be directed.
 
Old 10-07-2005, 06:06 AM   #6
salterl
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your help. Matrix printing is now ok and I will experiment with form feeds to sort out the lasers.
 
  


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
Failed to initialize Nvidia kernel module - stopping X from starting Mandrake 10 AngelicCharon Mandriva 3 10-09-2004 03:52 AM
IPv6 stopping DNS lookup on localhost movery Linux - Networking 1 07-19-2004 03:12 PM
DNS server in Mandrake 9.1 AZDAVE Linux - Newbie 3 04-27-2004 09:07 AM
Setting up DNS in Mandrake XtremeDawg Linux - Networking 11 12-30-2003 04:14 PM
stopping mandrake update paradoxni Mandriva 7 11-29-2003 01:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:52 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