Solved

Auto assign DNS

Posted on 1998-02-24
3
235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Shrink Linux Swap File Size CentOS 10 72
umask commands 5 18
grep command usage 10 31
Golang on CentOS / Fedora 2 11
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses

739 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