313 reputation
16
bio website
location
age
visits member for 2 years, 10 months
seen 18 hours ago

Jul
17
comment How to Disable External DNS recursion?
Depends on the software and configuration. In this case (BIND with recursion no configured), it should respond with a REFUSED error and nothing else (no SOA records).
Jul
5
comment Resolv.conf: presence of 'search localdomain' fails correct DNS lookup
What result do you get if you look up puppet.localdomain directly? Use dig or another DNS tool that produces good diagnostics. Perhaps this name resolves in a way you don't expect which causes the subsequent query for puppet.mydomain.com to not be tried.
May
31
comment Convert files to UTF-8 without BOM
What encoding are you converting FROM? Text editors sometimes try to autodetect the encoding that a given input file has, but one way or another, autodetected or manually specified, converting TO something only makes sense when it's FROM something else. So it sounds like your editor may be misautodetecting the input file's encoding. The most straightforward thing you can probably do is use iconv to convert the file because at least it's always perfectly clear what iconv is doing: iconv -f source-encoding -t target-encoding <infile >outfile.
Mar
3
comment how to force ssl with default-ssl without DNS?
@JoeCoderGuy on further examination, I guess plain Redirect won't work for you because you have a dynamic server name. For Redirect you have to know the hostname of the redirect target in advance. Hopefully someone will find the bug for you. I personally find Apache rewrite rules confusing :-(
Mar
2
comment how to force ssl with default-ssl without DNS?
What about a much simpler Redirect directive in the non-SSL VirtualHost block? mod_rewrite seems overkill for this, I think.
Mar
2
comment Restrict SSH Access to Specific IP for User
The manapage is pretty clear on this: "This keyword can be followed by a list of user name patterns, separated by spaces."
Feb
15
comment Why am I unable to ping the same interface after configuring an IPv6 address
I cannot reproduce this. My guess would be that your eth0 interface is down. Please update your question with the output of ip addr show dev eth0 and maybe ip -6 route.
Feb
14
comment How can I check the checksum of an installed deb package against the same package in the repository?
You want to do this as a preventative measure (i.e. check it on a regular basis using a cron job), or as a corrective measure? If the latter, don't bother. Just reinstall a clean version of the affected packages (or of the whole system, really). If any local modifications were actually legit, well, they should have used dpkg-divert.
Oct
27
comment BIND9 server not responding to external queries
Perhaps you have another nameserver or something else already listening on UDP port 53? It works if I query your nameserver via TCP but not via UDP. Check the logs for errors when the nameserver starts up. It is probably not succeeding to bind to its configured address. Also, you probably shouldn't have forwarders in your config but rather recursion no; instead if this is intended to be an authoritative nameserver.
Oct
21
comment /etc/hosts file not being used before DNS server query
Did you check if files is listed BEFORE dns under hosts in /etc/nsswitch.conf? This is the definition of the order in which they will be queried.
Oct
12
comment cannot delete IPv6 default gateway
In IPv4 link-local addresses were an afterthought, so they're not implemented universally, and, furthermore, you only get one of them when as a last resort (e.g. no static address configured and DHCP fails). In IPv6 link-local addresses were part of the protocol from the start and they are always present on every interface, even if the interface ALSO has other non-link-local addresses. That's why you see so much more use of link locals in v6. BTW: You'll see 169.254.0.0/16 automatically assigned in at least modern MacOS and Linux systems with avahi-autoipd running, so they do get some use.
Oct
12
comment cannot delete IPv6 default gateway
@NulledPointer fe80::/10 is indeed comparable to 169.254.0.0/16. @SanderSteffann is correct in saying that if a route's next hop is in this block it doesn't prevent the route from being used to reach off-link destinations. RFC 1918 blocks like 172.16.0.0/12 and 192.168.0.0/16 are not related to this topic and are in fact akin to IPv6 ULAs which are in the range fc00::/7.
Oct
11
comment cannot delete IPv6 default gateway
@MartyFried I'm sorry, I don't under stand your reply. There is no "default setting", and a default route doesn't have anything to do with "specify[ing] which [route] to use". A default route is simply a route with prefix length /0 so that it covers every possible destination. As the least specific route, every other route in the routing table overrides it.
Oct
11
comment cannot delete IPv6 default gateway
It's a default route... like every default route it tells the system where to send packets to reach destinations on the entire Internet (that are not covered by any other more specific route). Am I misunderstanding your question?
Oct
11
comment cannot delete IPv6 default gateway
@MartyFried No... if that were true then it would be impossible to not have a default route!
Oct
1
comment Configuring a DNS Server like OpenDNS
@EliahKagan OK, I stand corrected. Thanks for bringing that to my attention. I find it unintuitive though, since I would not look for information about DNS server configuration in general on a Linux-distribution-specific site.
Sep
30
comment Configuring a DNS Server like OpenDNS
This question is not Ubuntu-specific. In the future, Serverfault would be more appropriate for questions like this.
Aug
7
comment Cannot ping localhost after a half day of uptime
To diagnose: try including the output from ip addr, netstat -rn, getent hosts localhost, ping 127.0.0.1, and ping6 ::1.
Aug
1
comment How to Disable External DNS recursion?
In future, please ask on unix.stackexchange.com, as this is not Ubuntu-specific at all.
Jul
4
comment push email / email server tutorial
As I said, you don't have to configure anything special. Follow ANY tutorial for setting up Dovecot's IMAP server, and you will have push capability.