Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
15
Newest
 Critic
Impact
~5k people reached

May
6
comment DNS not resolving 3rd level sub domain
on what level do you want your change to happen? if you are only interested in the subdomain.example.com available to yourself (e.g. for testing), then /etc/hosts is a good solution (but see my answer). But if you want others to be able to access subdomain you need a separate entry on the official DNS server for your domain.
May
6
comment DNS not resolving 3rd level sub domain
@Mechromancer: nslookup and dig andthe like are tools to query DNS-servers; since you don't use a DNS-server but /etc/hosts, you cannot use these tools; but running ping subdomain.sitename.domain.com on that machine should give you a clue whether things work as expected.
May
6
comment DNS not resolving 3rd level sub domain
@wurtel; /etc/hosts is DNS just fine; it is just not a server-based solution and only works locally (so the new subdomain name won't get known to machines that lack this change to /etc/hosts)
May
6
comment OpenLDAP will not start - Starting OpenLDAP: slapdrm: cannot remove `/var/lib/ldap/alock'
@alphamikevictor, the manpage says -f: ignore nonexistent files and arguments, never prompt; so it's really a "force success" rather than "force remove"
May
6
comment OpenLDAP will not start - Starting OpenLDAP: slapdrm: cannot remove `/var/lib/ldap/alock'
which version of Debian and OpenLDAP are you using (apt-cache show slapd | egrep "^Version:")
Apr
1
comment migrate to new root-dn
i updated my question to answer your remarks (i'm using ldap for user auth; root-dn is hardcoded in all clients)
Dec
12
comment automatic MX entries for (almost) all hosts within a domain
the thing is, that while i understand the reasons why wildcards don't apply here (thanks for clarifying it, anyhow), it doesn't help answering my question. worse: most of the domains i administer have the same problem... so i figure that others might have this problem as well and there ought to be a simple solution for it
Dec
12
comment automatic MX entries for (almost) all hosts within a domain
RFCs have a very clear distinction between should and must (and while technically nobody ever *enforces an RFC, they still use these words and insist that they are different). in any case, this aspect of your answer isn't really related to my question anyhow... (so sorry for being anal)
Dec
12
comment Nginx welcome page returns
what do you mean by "it appears to happen every time... if I reboot the instance, it does not cause the overwriting". does it happen every time or does it not happen on reboot?
Dec
12
comment automatic MX entries for (almost) all hosts within a domain
well, if i remember the RFC correctly, an MTA must try that A-record if there is no MX-record. that's exactly why i want to set the MX record for each A-record.
Dec
12
comment Run a script.sh with www-data like it was root user
@Hihui if you want to have another solution to the same problem as asked before, then this is a duplicate. so what is the underlying problem you want to solve?
Dec
12
comment automatic MX entries for (almost) all hosts within a domain
@NickW i understand; i think should have avoided the use of "subdomains" in my question (i've updated the Q); i'm really talking about a single domain with multiple A/CNAME records; and i want the MX-record for each A/CNAME record to point to the same host
Dec
12
comment automatic MX entries for (almost) all hosts within a domain
i did have a cursory glance, though i didn't see any benefit for my problem. i really try to avoid having to specify an explicit MX record for each A-record, whether this is in a single zone-file or in myriards of per-host snippets.
Nov
7
comment make logrotate to only rotate at service startup
i knew i forgot something about logrotate. copytruncate together with a forced rotation at startup is probably the way to go
Nov
7
comment make logrotate to only rotate at service startup
because it nicely handles renaming of old files, which i don't see a point in re-implementing
Nov
7
comment make logrotate to only rotate at service startup
@MadHatter oops, i changed my mind while i wrote the question:-) for my system with the unstable clock it would be sufficient to rotate at system boot, but rotating at service startup seems like a good idea as well (so i get a new logfile for each run); i changed the title accordingly
Sep
26
comment using keybased ssh/scp for a shared directory
@MichaelHampton care to explain?
Aug
15
comment ldap-authentication without sambaSamAccount on linux smb/cifs server (e.g. samba)
the problem is, that (as stated in the question), "i don't have any administrator password" (nor account for that matter) "for the upstream ldap". should i just change it to a dummy password then (not having access to the machine atm)
Jul
24
comment Computer gets IP from DHCP server but has no internet connection
what's the output of /sbin/route -n on the client?
Jul
23
comment Computer gets IP from DHCP server but has no internet connection
as i said in my answer, just having the line in the config-file will not enable ip-forwarding until the machine is rebooted. what does sysctl net.ipv4.ip_forward output? can the router see the internet?