Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Linux is not appending domain name in DNS query Post 303043899 by rbatte1 on Monday 10th of February 2020 01:02:46 PM
Old 02-10-2020
You probably need to add a search record in your resolv.conf file. The manual page has the appropriate syntax. You can add multiple suffixes if you need to. Do you have a selection you would want to loop through?

I hope that this helps. Give it a try and let us know if you are still stuck.



Kind regards,
Robin
 

9 More Discussions You Might Find Interesting

1. Solaris

change dns (domain name)

hi gurus, need to check other than the hosts file, what else i need to change after we have changed the domain name in our company. currently, we are using olddnsname.com and will change it to newdnsname.com. i am not sure where else in solaris i need to take a look. please advise. thank... (4 Replies)
Discussion started by: kim_custodio
4 Replies

2. Windows & DOS: Issues & Discussions

How to: Linux BOX in Windows Domain (w/out joining the domain)

Dear Expert, i have linux box that is running in the windows domain, BUT did not being a member of the domain. as I am not the System Administrator so I have no control on the server in the network, such as modify dns entry , add the linux box in AD and domain record and so on that relevant. ... (2 Replies)
Discussion started by: regmaster
2 Replies

3. IP Networking

Select DNS Servers depending on the domain

Hello, I'm using CentOS 5.3, and I connect to a VPN in order to work. The problem is that I'm constantly accessing things on the local network and the remote network. But once I'm connected to the VPN I can't access local addresses by name, I have to use the ip-address. What I'd like is to... (4 Replies)
Discussion started by: martincastell
4 Replies

4. Linux

Configuring dns in local domain

Hi everybody, for revolving local host name of my network, I set up an dns server to solve my problem, but til now, nothing happen when I ping a hostname, but work on IP. Can you help me to correct the configuration. Here is all my settings: Voici mes fichiers de configuration: -... (2 Replies)
Discussion started by: beloge2002
2 Replies

5. UNIX for Advanced & Expert Users

DNS server choice: Windows DNS vs Linux BIND

I'd like to get some opnions on choosing DNS server: Windows DNS vs Linux BIND comparrsion: 1) managment, easy of use 2) Security 3) features 4) peformance 5) ?? I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies

6. Shell Programming and Scripting

Command to flush specific domain in SunOS 5 DNS

Hello to all, May you help saying me how to flush a specific domain in Linux SunOS5 I know the command rndc is to flush DNS cache, but I would like to know: 1- How to do a flush only on specific domain 2- How to see the content of DNS Resolver cache (similar to info given by IPCONFIG... (2 Replies)
Discussion started by: Ophiuchus
2 Replies

7. Linux

Domain registrars & DNS servers

I have read many tutorials on bind and i understand the A,MX, CNAME records. Internally, on a LAN we can install bind and create all these records and we can tell all PC and servers to use this bind as DNS server.that's fine. On the Internet, when we have purchased a valid domain like... (5 Replies)
Discussion started by: coolatt
5 Replies

8. Shell Programming and Scripting

Shell script appending output of sql query

I am writing the following script to create the file v_out.txt. sqlplus -s /nolog << EOF CONNECT scott/tiger@orcl; whenever sqlerror exit sql.sqlcode; set newpage 0; SET PAGESIZE 0; SET ECHO OFF; SET FEEDBACK OFF; SET HEADING OFF; SET VERIFY OFF; SET LINESIZE 100; set tab off; set... (7 Replies)
Discussion started by: itzkashi
7 Replies

9. UNIX for Advanced & Expert Users

Changing hosting company for one domain, how to deal with DNS?

Hello, Our organization is planning to move one domain from Dreamhost to Hubspot. Lets say, it is gem.xyxyxyxyx.com. Please note, website is not being migrated from one server to another, it is just hosting company. Here is from our internal DNS master server - # cat... (6 Replies)
Discussion started by: solaris_1977
6 Replies
PPPCONFIG(8)						      System Manager's Manual						      PPPCONFIG(8)

NAME
pppconfig - configure pppd to connect to the Internet SYNOPSIS
pppconfig [--version] | [--help] | [[--dialog] | [--whiptail] | [--gdialog] [--noname] | [providername]] DESCRIPTION
pppconfig is a dialog based interactive, menu driven utility to help automate setting up a dial out ppp connection. It provides extensive explanations at each step. pppconfig supports PAP, CHAP, and chat methods of authentication. It uses the standard ppp configuration files and sets ppp up so that the standard pon and poff commands can be used to control ppp. Some features supported by pppconfig are: - Multiple ISP's with separate nameservers. - Modem detection. - Dynamic DNS. - Dial on demand. - Allow non-root users to run ppp. - Uses the gdialog GUI dialog replacement if possible. Before running pppconfig you should know what sort of authentication your isp requires, the username and password that they want you to use, and the phone number. If they require you to use chat authentication, you will also need to know the login and password prompts and any other prompts and responses required for login. If you can't get this information from your isp you could try dialing in with minicom and working through the procedure until you get the garbage that indicates that ppp has started on the other end. pppconfig allows you to configure connections to multiple providers. For example, you might call your isp 'provider', your employer 'the- office' and your university 'theschool'. Then you can connect to your isp with 'pon', your office with 'pon theoffice', and your univer- sity with 'pon theschool'. It can determine which serial port your modem is on, but the serial port must already be configured. This is normally done when installing Linux. It can help you set your nameservers, or, if your ISP uses 'dynamic DNS', it can set up ppp to use that. It can configure ppp for demand dialing, so that your ppp connection will come up automatically. It will not, however, start pppd for you. You must still start pppd yourself ('pon' will do it). Pppd will then wait in the background for you to attempt to access the Net and bring up the link. If you select "Static" in the "Configure Nameservers" screen pppconfig will create a file in the /etc/ppp/resolv directory named after the provider you are configuring and containing "nameserver" lines for each of the IP numbers you gave. This file will be substituted for /etc/resolv.conf when the connection comes up. The provider name is passed in the ipparam variable so that 0dns-up knows which file to use. The original resolv.conf will be put back when the connection goes down. You can edit this file if you wish and add such things as "search" or "domain" directives or additional nameservers. Be sure and read the resolv.conf man page first, though. The "search" and "domain" directives probably do not do what you think they do. If you select "dynamic" in the "Configure Nameservers" screen pppconfig will configure pppd for 'dynamic DNS' and create a file in the /etc/ppp/resolv directory named after the provider you are configuring but containing nothing. When the connection comes up the name- servers supplied by your ISP will be added and the file substituted for /etc/resolv.conf. You can edit this file if you wish and add such things as "search" or "domain" directives or additional nameservers. If you select "None" in the "Configure Nameservers" screen pppconfig will create no file in /etc/ppp/resolv and will leave /etc/resolv.conf alone. ipparam is not set to the provider name and so is free for the administrator to use. FILES
/etc/ppp/peers/provider is the standard pppd options file for the default service provider. /etc/ppp/peers/<name> is the pppd options file for the provider that you have named <name>. /etc/ppp/peers/provider.bak is a backup copy of /etc/ppp/peers/provider. /etc/chatscripts/provider is the standard chat script for the default service provider. /etc/chatscripts/<name> is the chat script for the provider that you have named <name>. /etc/chatscripts/provider.bak is a backup copy of /etc/chatscripts/provider. /etc/ppp/resolv is a directory where resolv.conf files for each provider are stored. /etc/ppp/ip-up.d/0dns-up is a script that arranges for the correct resolv.conf file to be copied into place when a connection comes up. /etc/ppp/ip-down.d/0dns-down is a script that arranges for the original resolv.conf file to be copied into place when a connection goes down. /etc/init.d/dns-clean is a script that runs 0dns-down at bootup to clean up any mess left by a crash. /var/run/pppconfig is a directory where temporary files created by 0dns-up are stored. /var/run/pppconfig/resolv.conf.bak.<provider> is a backup copy of the original resolv.conf file. 0dns-down restores /etc/resolv.conf from it. /var/run/pppconfig/0dns.<provider> is a backup copy of the resolv.conf file for <provider>. 0dns-down uses it to determine if /etc/resolv.conf has been overwritten by another process. /etc/ppp/pap-secrets and /etc/ppp/chap-secrets are described in the pppd documentation. pppconfig may add lines to these files and will change lines that it previously added. NOTES
pppconfig requires pppd 2.3.7 or higher. TO DO
Add full support for MSCHAP. BUGS
Don't tell pppconfig to find your modem while pppd is running. SEE ALSO
chat(8), gpppon(1), plog(1), poff(1), pon(1), pppd(8), and whiptail(1). AUTHOR
pppconfig was written by John Hasler <jhasler@debian.org>. COPYRIGHT
This man page may be treated as if it were in the public domain. I waive all rights. Debian GNU/Linux Version 2.3.16 PPPCONFIG(8)
All times are GMT -4. The time now is 11:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy