Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-24-2002, 07:35 AM   #1
LQ Newbie
Registered: Apr 2002
Distribution: Mandrake 9.0 (at the moment)
Posts: 28

Rep: Reputation: 15
Question Dynamic DNS server setup ?

Hey everybody - I have what I hope will be a quick question...

How do I discover the addresses of the DNS servers I've been assigned to use after I've made a dial up connection with kppp?

In winblows you can do an ipconfig /all and it will tell you which DNS servers you're using - but ifconfig (at least, not run vanilla) doesn't tell me the same..

Any ideas anyone ?

Old 04-24-2002, 08:11 AM   #2
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
'cat /etc/resolv.conf' should show you your dns servers. If you are using dhcpcd then all the information obtained from the dhcp server is placed in /etc/dhcpc/dhcpcd-<interface>.info
I'm not sure about other dhcp clients but I'm sure they have something similar.
Old 04-25-2002, 04:09 AM   #3
LQ Newbie
Registered: Apr 2002
Distribution: Mandrake 9.0 (at the moment)
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks for the reply - I'd actually got to that answer myself - I didn't realise that dynamically assigned DNS servers were added to /etc/resolv.conf temporarily while the link is up - I didn't think it would be that simple - but it was!

Oh well - you live and learn...



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
Dynamic DNS Server. NickCoons Linux - Networking 6 10-20-2005 05:17 AM
how to setup a solaris 8 dhcp server to do dynamic dns updates smiller71 Solaris / OpenSolaris 0 04-02-2004 03:16 PM
How to setup Dynamic DNS on RedHat 9 ongxanga Linux - Networking 17 03-10-2004 09:35 AM
I want to be a dynamic dns server. jmanjohn61 Linux - Software 0 01-19-2004 09:40 AM
hostname/domainname/postfix setup with dynamic DNS from no-ip tesauce98 Linux - Software 10 09-17-2003 02:01 PM > Forums > Linux Forums > Linux - Networking

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

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