Questions tagged [domain]
183 questions
54
votes
5 answers
How to correctly set hostname and domain name?
I am renting a server, running Ubuntu 16.04 at a company, let's name it company.org.
Currently, my server is configured like this:
hostname: server737263
domain name: company.org
Here's my FQDN:
user@server737263:~ $ hostname…
titsou
- 543
- 1
- 4
- 4
29
votes
4 answers
How to set the fully qualified hostname on CentOS 7.0?
How do I set the fully qualified hostname on CentOS 7.0?
I have seen a few posts online for example using:
$ sudo hostnamectl set-hostname nodename.domainname
However, running domainname returns nothing:
$ domainname
(none)
Also:
$…
Chris Snow
- 4,046
- 4
- 23
- 30
22
votes
8 answers
How to get the hostname along with the domain name?
In Unix (Solaris) is there any command that returns the hostname and domain name together?
For instance:
hostname -> servername
domainname -> us.xyz.com
I need : servername.us.xyz.com
Vikas
17
votes
5 answers
How to do domain filtering in Linux?
Preferably something similar to iptables. Basically, I want to do domain filtering/whitelisting/blacklisting like I would with IPs in iptables. Are there any recommendations on how to do this?
user26053
10
votes
3 answers
Future-proofing top-level domains for private networks
I recently installed some new servers on my home network to discover that systemd-resolved doesn't resolve hostnames without dots. This got me on a journey on the internet trying to find what is the best practice for choosing a TLD for a private…
user442054
9
votes
3 answers
How to configure for an Authenticating Proxy Server
My work proxy server requires authentication with the Microsoft AD domain user credentials. Everybody knows how it works: If you log in on a Windows workstation, your "Internet Explorer" browser based internet access requests are automatically…
Johan
- 4,088
- 2
- 23
- 30
8
votes
3 answers
Change default search name
My Ubuntu12 server VM is receiving its IP address from an DHCP server (actually my WLAN router called Fritz Box). Hence all domain names are resolved to machinename.fritz.box. The reason seems to be the resolv.conf file under /etc.
But how can I…
Horst Walter
- 517
- 1
- 6
- 10
7
votes
2 answers
Correct domain name for a non-server desktop machine
I have some Debian desktop machines, and during installation I left the domain name field blank, because I don't host any websites and I do not have a static IP (whatsmyip.org gives a different IP every few months).
What should the domain name be in…
nebuch
- 280
- 2
- 7
7
votes
4 answers
Allow AD Groups to SUDO
I'm adding some Fedora 20 workstations to our Windows 2003 domain. I've successfully joined the domain with the boxes, and can login with domain accounts.
Now I'm trying to allow the default AD group Enterprise Admins to use SUDO, however whatever I…
SnakeDoc
- 462
- 3
- 5
- 16
6
votes
2 answers
Can a domain name in the dns search list have a trailing period?
A trailing dot represents that the domain is a Fully-Qualified Domain Name (FQDN).
However, can a domain name in the dns search list be a FQDN?
In other words, is this proper configuration?
# /etc/resolv.conf
search domain1.com.
It seems to work,…
Sush
- 202
- 1
- 7
6
votes
2 answers
Understanding hostnames
I was recently setting up an MTA on a VPS, and while configuring it I realized I’m quite confused about the concept and implementation of hostnames in Unix.
I have a solid understanding of the DNS, and I’m familiar with its predecessor, the hosts…
Joó Ádám
- 273
- 1
- 3
- 11
5
votes
2 answers
Setting login shell in SSS configuration for users from Active Directory
I'm trying to define different login shells for different users of an AD domain, as described here. The aim is to deny members of a particular group from logging in while allowing them to do SSH tunneling.
Here below is the file /etc/sssd/sssd.conf.…
dr_
- 28,763
- 21
- 89
- 133
5
votes
1 answer
How can I find the domain of a samba server?
How can I determine the domain of a remote samba server from the command line?
user200082
4
votes
2 answers
wget - Mirroring a full website with requisites on different hosts
I am trying to make a full static copy of a Wordpress website with wget to be browsed without any network connection (all links and images must be converted).
The different requisites for the pages (images, css, js, ...) are on 3 different Wordpress…
user11689
- 41
- 2
4
votes
3 answers
Linux-AD Integration
I currently have this domain with about 25 PCUS running with AD and Windows Server 2008 R2. We are currently thinking of adding some Linux PCUS instead of more Windows PCS because of financial reasons.
My questions are:
Is it possible to add a…
user56130
- 141
- 3