Solved

Auto assign DNS

Posted on 1998-02-24
3
217 Views
Last Modified: 2011-08-18
When a user logs into my dialin PC, they are automatically assigned a gateway address.
I want to do the same with the DNS server(s) so I don't have to go through the installation of setting this
part up.

Using linux 2.0.33 and pppd with shadowd password with AUTOPPP installed.
0
Comment
Question by:Q010797
  • 2
3 Comments
 
LVL 1

Expert Comment

by:dirge
ID: 1636410
Please clarify your question. Do you wish to

1. automatically assign a hostname to your users when they login?
2. have your server set up its gateway when it boots up?

or something else? More details please...


0
 
LVL 1

Author Comment

by:Q010797
ID: 1636411
neither!

when a user runs pppd they get auto assigned the Gateway so they don't have to specify one in windows 95.. however they need to setup the name server because it's not automatic..

I want to MAKE it automatic
0
 
LVL 1

Accepted Solution

by:
dirge earned 50 total points
ID: 1636412
Okay. Add

dns-addr 123.45.67.1 dns-addr 123.45.67.2

to your pppd options, using your primary and secondary DNS IP addresses, respectively.


0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now