[opensuse] My computer has an identity crisis
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi: +++.............. cer@Telcontar:~> su - Password: localhost:~ # ..............++- My computer suddenly believes it is called "localhost". Huh? If I open a new terminal, I see: cer@localhost:~> I can see it in syslog, too: <10.6> 2020-10-14T10:49:22.092270+02:00 localhost su - - - pam_unix(su-l:session): session opened for user root by (uid=1000) It is not this: +++.............. Telcontar:~ # cat /etc/HOSTNAME Telcontar.valinor Telcontar:~ # ..............++- The "/etc/hosts" file is normal: +++.............. 127.0.0.1 localhost ::1 localhost ipv6-localhost ipv6-loopback 192.168.1.14 Telcontar.valinor Telcontar ..............++- (yes, my IP is 192.168.1.14) /etc/resolv.conf: +++.............. search valinor nameserver 127.0.0.1 ..............++- (I run a local dnsmasq daemon) What I changed, as far as I remember, just before this happened was this: /etc/dnsmasq.conf: +++.............. #CER #server=192.168.1.1 #My router uses static DNS. 2018.03.12 <http://192.168.1.1/main.html> Advanced/DNS server=80.58.61.250 server=80.58.61.254 server=1.1.1.1 server=1.0.0.1 server=/valinor/192.168.1.16 ..............++- and I changed to: +++.............. #CER #server=192.168.1.1 #My router uses static DNS. 2018.03.12 <http://192.168.1.1/main.html> Advanced/DNS server=/valinor/192.168.1.16 server=80.58.61.250 server=80.58.61.254 server=1.1.1.1 server=1.0.0.1 ..............++- On 192.168.1.16 there is a bind9 daemon. +++.............. Telcontar:~ # host 192.168.1.14 14.1.168.192.in-addr.arpa domain name pointer Telcontar.valinor. Telcontar:~ # host 192.168.1.14 192.168.1.16 Using domain server: Name: 192.168.1.16 Address: 192.168.1.16#53 Aliases: 14.1.168.192.in-addr.arpa domain name pointer Telcontar.valinor. Telcontar:~ # host 192.168.1.14 192.168.1.14 Using domain server: Name: 192.168.1.14 Address: 192.168.1.14#53 Aliases: 14.1.168.192.in-addr.arpa domain name pointer Telcontar.valinor. Telcontar:~ # Telcontar:~ # host 192.168.1.14 192.168.1.16 Using domain server: Name: 192.168.1.16 Address: 192.168.1.16#53 Aliases: 14.1.168.192.in-addr.arpa domain name pointer Telcontar.valinor. Telcontar:~ # Telcontar:~ # hostname -A Telcontar.valinor Telcontar:~ # hostname -d Telcontar:~ # hostname -s localhost Telcontar:~ # hostname localhost Telcontar:~ # ..............++- I commented out the line "server=/valinor/192.168.1.16" in /etc/dnsmasq.conf, no change. Recent changes: +++.............. Telcontar:~ # ls -ltr /etc drwxr-xr-x 8 root root 4096 Oct 4 04:37 sysconfig drwxr-xr-x 2 root root 4096 Oct 11 11:34 cron.d - -rw-r--r-- 1 root root 45 Oct 11 11:34 adjtime drwxr-xr-x 6 root lp 4096 Oct 11 11:49 cups - -rw-r--r-- 1 root root 20539 Oct 11 18:40 fstab - -rw-r--r-- 1 root root 1204 Oct 12 19:39 resolv.conf - -rw-r--r-- 1 root root 2159 Oct 12 20:39 exports~ - -rw-r--r-- 1 root root 2263 Oct 12 20:43 exports drwxr-x--- 2 root news 4096 Oct 12 21:49 leafnode - -rw-r--r-- 1 root root 26974 Oct 14 11:05 dnsmasq.conf~ - -rw-r--r-- 1 root root 26973 Oct 14 11:06 dnsmasq.conf Telcontar:~ # ..............++- (leafnode complained about the name change, thus the edit) Where is the problem, how do I get my name back? - -- Cheers Carlos E. R. (from 15.1 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCX4bBQRwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVR8AAnR5EvtVkuJj+BIHDRQOf VYGiJbmVAJ9kxdrTA1d9qXeFE84WUcn+TUWeLQ== =pFEk -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 14/10/2020 11.13, Carlos E. R. wrote:
Hi:
...
Where is the problem, how do I get my name back?
Giving up. Yast, network module, hostname/dns, and I see that "hostname=localhost", so I change it there and cross my fingers. Telcontar:~ # hostname Telcontar Telcontar:~ # hostname -s Telcontar Telcontar:~ # -rw-r--r-Telcontar:~ # ls -ltr /etc/ total 5472 -rw------- 1 fetchmail root 80 Oct 7 2005 fetchmailrc ... -rw-r--r-- 1 root root 26973 Oct 14 11:06 dnsmasq.conf -rw-r--r-- 1 root root 10 Oct 14 12:07 hostname -rw-r--r-- 1 root root 1126 Oct 14 12:07 sysctl.conf Telcontar:~ # Huh? /etc/sysctl.conf? Let's check with the backup. cer@Telcontar:~> sshfs cer@Isengard:/ ~/fusermount/ cer@Telcontar:~> diff ~/fusermount/mnt/BookTelcontar/006/etc/sysctl.conf /etc/sysctl.conf cer@Telcontar:~> l ~/fusermount/mnt/BookTelcontar/006/etc/sysctl.conf /etc/sysctl.conf -rw-r--r-- 1 root root 1126 Oct 14 12:07 /etc/sysctl.conf -rw-r--r-- 1 root root 1126 Mar 22 2020 /home/cer/fusermount/mnt/BookTelcontar/006/etc/sysctl.conf cer@Telcontar:~> The file was touched, but the contents did not change - yet my computer now has the correct name. +++................ cer@Telcontar:~> cat /etc/sysctl.conf # This file is # /etc/sysctl.d/99-sysctl.conf -> /etc/sysctl.conf # CER: Check new defaults on a new system. # Disable response to broadcasts. # You don't want yourself becoming a Smurf amplifier. net.ipv4.icmp_echo_ignore_broadcasts = 1 # enable route verification on all interfaces net.ipv4.conf.all.rp_filter = 1 # disable IPv6 completely # net.ipv6.conf.all.disable_ipv6 = 1 # enable IPv6 forwarding #net.ipv6.conf.all.forwarding = 1 # increase the number of possible inotify(7) watches fs.inotify.max_user_watches = 65536 # avoid deleting secondary IPs on deleting the primary IP net.ipv4.conf.default.promote_secondaries = 1 net.ipv4.conf.all.promote_secondaries = 1 ### converted from /etc/sysconfig/sysctl at Sun, 19 Aug 2012 01:25:29 +0200 net.ipv4.tcp_syncookies = 1 net.ipv4.ip_forward = 0 net.ipv4.tcp_ecn = 0 kernel.sysrq = 1 net.ipv6.conf.all.forwarding = 0 # http://www.zdnet.com/article/linux-tcp-flaw-lets-anyone-hijack-internet-traf... #CER 16-08-29 12:41 To: oS-en net.ipv4.tcp_challenge_ack_limit = 999999999 #CER apparently, new default. I add on 2016-10-12 net.ipv6.conf.default.use_tempaddr = 1 cer@Telcontar:~> ................++- I do again the edit to dnsmasq, but the name keeps. I check the log to see when did the name change: +++................ <3.6> 2020-10-13T00:00:01.742822+02:00 Telcontar systemd 1 - - Starting Update locate database... <3.6> 2020-10-13T00:00:01.743382+02:00 Telcontar systemd 1 - - Starting Rotate log files... <3.6> 2020-10-13T00:00:01.743955+02:00 Telcontar systemd 1 - - Starting Do daily mandb update... <3.6> 2020-10-13T00:00:01.744554+02:00 Telcontar systemd 1 - - Started Timeline of Snapper Snapshots. <3.6> 2020-10-13T00:00:01.780506+02:00 Telcontar dbus-daemon 1460 - - [system] Activating service name='org.opensuse.Snapper' requested by ':1.1408' (uid=0 pid=9288 comm="/usr/lib/snapper/systemd-he lper --timeline ") (using servicehelper) <4.5> 2020-10-13T00:00:01.788354+02:00 Telcontar su - - - (to root) root on none <3.6> 2020-10-13T00:00:01.802172+02:00 Telcontar systemd 1 - - Reloading System Logging Service. <10.6> 2020-10-13T00:00:01.802720+02:00 localhost cron 9230 - - pam_unix(crond:session): session opened for user cer by (uid=0) <9.6> 2020-10-13T00:00:01.803139+02:00 localhost CRON 9314 - - (cer) CMD (/home/cer/bin/dar_la_hora_en_cron hora) <5.6> 2020-10-13T00:00:01.803354+02:00 localhost rsyslogd - - - message repeated 17 times: [-- MARK --] <5.6> 2020-10-13T00:00:01.803562+02:00 localhost rsyslogd - - - [origin software="rsyslogd" swVersion="8.33.1" x-pid="1689" x-info="http://www.rsyslog.com"] rsyslogd was HUPed ................++- At zero hours of Tuesday - that was when syslog became aware of the name change. That afternoon I changed resolv.conf and edited dnsmasq.conf. cer@Telcontar:~> diff ~/fusermount/mnt/BookTelcontar/006/etc/resolv.conf /etc/resolv.conf No, I only wrote a 2 line comment to the file. So no idea what caused the problem... :-( -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On 14/10/2020 12.31, Carlos E. R. wrote:
On 14/10/2020 11.13, Carlos E. R. wrote:
I do again the edit to dnsmasq, but the name keeps. I check the log to see when did the name change:
...
At zero hours of Tuesday - that was when syslog became aware of the name change.
Another log shows the instant the problem happened: +++................ <7.7> 2020-10-12T20:28:01.430137+02:00 Telcontar fetchnews 32349 - - config: debugmode is 1 <7.7> 2020-10-12T20:28:01.430334+02:00 Telcontar fetchnews 32349 - - config: maxfetch is 5000 <7.7> 2020-10-12T20:28:01.430457+02:00 Telcontar fetchnews 32349 - - config: maxage is 0 <7.7> 2020-10-12T20:28:01.430572+02:00 Telcontar fetchnews 32349 - - config: postings have max. 500000 bytes <7.7> 2020-10-12T20:28:01.430683+02:00 Telcontar fetchnews 32349 - - config: timeout_long is 100 days <7.7> 2020-10-12T20:28:01.430801+02:00 Telcontar fetchnews 32349 - - config: timeout_fetchnews is 90 seconds <7.7> 2020-10-12T20:28:01.430914+02:00 Telcontar fetchnews 32349 - - config: newsadmin is postmaster@telcontar.valinor <7.7> 2020-10-12T20:28:01.431026+02:00 Telcontar fetchnews 32349 - - config: allow_8bit_headers is 1 <7.7> 2020-10-12T20:28:04.430540+02:00 Telcontar fetchnews 32349 - - leafnode 1.11.11: verbosity level is 2, debugmode is 1 <7.7> 2020-10-12T20:28:04.430792+02:00 Telcontar fetchnews 32349 - - try_lock(timeout=5), fqdn="Telcontar.valinor" <====== ... <7.7> 2020-10-12T20:32:02.145306+02:00 Telcontar fetchnews 32562 - - config: allow_8bit_headers is 1 <7.2> 2020-10-12T20:32:02.145361+02:00 Telcontar fetchnews 32562 - - #012Leafnode must have a fully-qualified and globally unique domain name,#012not just "localhost".#012Edit your /etc/hosts file to add a unique, fully qualified domain name.#012"localhost.localdomain" or thereabouts will not work;#012it's qualified, but not unique.#012Please see the README-FQDN file for details. ................++- So between 20:28:04 and 20:32:02 hours of Monday 12. If it were resolv.conf: cer@Telcontar:~> l /etc/resolv.conf -rw-r--r-- 1 root root 1204 Oct 12 19:39 /etc/resolv.conf cer@Telcontar:~> so that was not the culprit. Could be dnsmasq, but that one I don't have the significant timestamp of my edit (I changed it later more than once). Still, I think that was it, but I can't reproduce the problem.
So no idea what caused the problem... :-(
-- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On Wed, 14 Oct 2020 11:13:37 +0200 (CEST) "Carlos E. R." <robin.listas@telefonica.net> wrote:
+++.............. cer@Telcontar:~> su - Password: localhost:~ # ..............++-
My computer suddenly believes it is called "localhost". Huh?
If I open a new terminal, I see:
cer@localhost:~>
15.2 and xfce? You can try the gui in Yast Control Center / Network Settings / Hostname / Static Hostname. IIRC, you then need to restart. Ralph -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 14/10/2020 12.37, Ralph wrote:
On Wed, 14 Oct 2020 11:13:37 +0200 (CEST) "Carlos E. R." <robin.listas@telefonica.net> wrote:
+++.............. cer@Telcontar:~> su - Password: localhost:~ # ..............++-
My computer suddenly believes it is called "localhost". Huh?
If I open a new terminal, I see:
cer@localhost:~>
15.2 and xfce? You can try the gui in Yast Control Center / Network Settings / Hostname / Static Hostname. IIRC, you then need to restart.
15.1, but yes, that is what I did and it worked, as I posted a moment ago. No, reboot was not necessary. But I have no idea what it changed that worked, nor what caused the problem. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On Wed, 14 Oct 2020 12:54:13 +0200 "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 14/10/2020 12.37, Ralph wrote:
On Wed, 14 Oct 2020 11:13:37 +0200 (CEST) "Carlos E. R." <robin.listas@telefonica.net> wrote:
My computer suddenly believes it is called "localhost". Huh?
If I open a new terminal, I see:
cer@localhost:~>
15.2 and xfce? You can try the gui in Yast Control Center / Network Settings / Hostname / Static Hostname. IIRC, you then need to restart.
15.1, but yes, that is what I did and it worked, as I posted a moment ago. No, reboot was not necessary. But I have no idea what it changed that worked, nor what caused the problem.
The reason I asked if it was 15.2 is that I got surprised by that @localhost machine name in a fresh install of 15.2, where we instead used to get a random string of characters as the initial hostname in 15.1 and previous versions. In my case (fresh 15.2) I did IIRC need to restart. Ralph -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 14/10/2020 13.16, Ralph wrote:
On Wed, 14 Oct 2020 12:54:13 +0200 "Carlos E. R." <> wrote:
On 14/10/2020 12.37, Ralph wrote:
On Wed, 14 Oct 2020 11:13:37 +0200 (CEST) "Carlos E. R." <> wrote:
My computer suddenly believes it is called "localhost". Huh?
If I open a new terminal, I see:
cer@localhost:~>
15.2 and xfce? You can try the gui in Yast Control Center / Network Settings / Hostname / Static Hostname. IIRC, you then need to restart.
15.1, but yes, that is what I did and it worked, as I posted a moment ago. No, reboot was not necessary. But I have no idea what it changed that worked, nor what caused the problem.
The reason I asked if it was 15.2 is that I got surprised by that @localhost machine name in a fresh install of 15.2, where we instead used to get a random string of characters as the initial hostname in 15.1 and previous versions. In my case (fresh 15.2) I did IIRC need to restart.
Ah, yes, you are right, I saw it on a new install of 15.2. But this machine is old. It had the correct name and suddenly it changed. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
Hello, On Wed, 14 Oct 2020, Carlos E. R. wrote:
The "/etc/hosts" file is normal: +++.............. 127.0.0.1 localhost ::1 localhost ipv6-localhost ipv6-loopback 192.168.1.14 Telcontar.valinor Telcontar ..............++-
RTF comments: ==== /etc/hosts ==== # Syntax: # # IP-Address Full-Qualified-Hostname Short-Hostname ==== Thus: ==== 127.0.0.1 Telcontar.valinor Telcontar localhost ::1 Telcontar.valinor Telcontar localhost ipv6-localhost ipv6-loopback 192.168.1.14 Telcontar.valinor Telcontar ==== HTH, -dnh -- "...you want a .sig with that?" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 15/10/2020 07.56, David Haller wrote:
Hello,
On Wed, 14 Oct 2020, Carlos E. R. wrote:
The "/etc/hosts" file is normal: +++.............. 127.0.0.1 localhost ::1 localhost ipv6-localhost ipv6-loopback 192.168.1.14 Telcontar.valinor Telcontar ..............++-
RTF comments: ==== /etc/hosts ==== # Syntax: # # IP-Address Full-Qualified-Hostname Short-Hostname ====
Thus:
==== 127.0.0.1 Telcontar.valinor Telcontar localhost
No, this entry breaks postfix. Well... I haven't tried that exact entry, but the one that YaST created in the past: 127.0.0.2 Telcontar.valinor Telcontar The error caused was "fatal: parameter inet_interfaces: no local interface found for 127.0.0.2" Although I have a note from 20180825 that maybe the error was solved. Previous to that date, I had an email exchange with postfix developer where he said it was not postfix fault. Adding a fourth field is not in my documentation :-?
::1 Telcontar.valinor Telcontar localhost ipv6-localhost ipv6-loopback 192.168.1.14 Telcontar.valinor Telcontar ====
-- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On 15/10/2020 09.28, Carlos E. R. wrote:
On 15/10/2020 07.56, David Haller wrote:
Hello,
On Wed, 14 Oct 2020, Carlos E. R. wrote:
...
127.0.0.1 Telcontar.valinor Telcontar localhost
No, this entry breaks postfix. Well... I haven't tried that exact entry, but the one that YaST created in the past:
127.0.0.2 Telcontar.valinor Telcontar
The error caused was "fatal: parameter inet_interfaces: no local interface found for 127.0.0.2" Although I have a note from 20180825 that maybe the error was solved. Previous to that date, I had an email exchange with postfix developer where he said it was not postfix fault.
Google that error message, second hit: <https://www.mail-archive.com/postfix-users@postfix.org/msg51958.html> -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
Hello, On Thu, 15 Oct 2020, Carlos E.R. wrote:
On 15/10/2020 09.28, Carlos E. R. wrote:
On 15/10/2020 07.56, David Haller wrote:
On Wed, 14 Oct 2020, Carlos E. R. wrote:
...
127.0.0.1 Telcontar.valinor Telcontar localhost
No, this entry breaks postfix. Well... I haven't tried that exact entry, but the one that YaST created in the past:
127.0.0.2 Telcontar.valinor Telcontar
Then do try that exact entry (no .2). But, admittedly, I do set 'myhostname' explicitly in main.cf. Should work without though. When it's correct you should get: $ hostname Telcontar $ hostname -f Telcontar.valinor $ hostname -a Telcontar localhost $ host localhost localhost has address 127.0.0.1 Dunno about the IPv6 stuff. HTH, -dnh -- BUGS It is not yet possible to change operating system by writ ing to /proc/sys/kernel/ostype. -- Linux sysctl(2) manpage -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 15/10/2020 10.03, David Haller wrote:
Hello,
On Thu, 15 Oct 2020, Carlos E.R. wrote:
On 15/10/2020 09.28, Carlos E. R. wrote:
On 15/10/2020 07.56, David Haller wrote:
On Wed, 14 Oct 2020, Carlos E. R. wrote:
...
127.0.0.1 Telcontar.valinor Telcontar localhost
No, this entry breaks postfix. Well... I haven't tried that exact entry, but the one that YaST created in the past:
127.0.0.2 Telcontar.valinor Telcontar
Then do try that exact entry (no .2). But, admittedly, I do set 'myhostname' explicitly in main.cf. Should work without though.
When it's correct you should get:
$ hostname Telcontar $ hostname -f Telcontar.valinor $ hostname -a Telcontar localhost $ host localhost localhost has address 127.0.0.1
Before: cer@Telcontar:~> hostname Telcontar cer@Telcontar:~> hostname -f Telcontar.valinor cer@Telcontar:~> hostname -a <== Telcontar cer@Telcontar:~> host localhost localhost has address 127.0.0.1 localhost has IPv6 address ::1 cer@Telcontar:~> After: cer@Telcontar:~> hostname Telcontar cer@Telcontar:~> hostname -f Telcontar.valinor cer@Telcontar:~> hostname -a Telcontar localhost Telcontar cer@Telcontar:~> host localhost localhost has address 127.0.0.1 localhost has IPv6 address ::1 cer@Telcontar:~> Telcontar:~ # systemctl restart postfix Telcontar:~ # systemctl status postfix ● postfix.service - Postfix Mail Transport Agent Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2020-10-15 17:59:19 CEST; 23s ago Process: 31997 ExecStopPost=/etc/postfix/system/cond_slp deregister (code=exited, status=0/SUCCESS) ... Telcontar:~ # mail cer Subject: test after localhost change hi . EOT Telcontar:~ # And leafnode doesn't complain :-)
Dunno about the IPv6 stuff.
It is there on mine -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
Hello, On Thu, 15 Oct 2020, Carlos E. R. wrote:
On 15/10/2020 10.03, David Haller wrote:
On Thu, 15 Oct 2020, Carlos E.R. wrote:
On 15/10/2020 09.28, Carlos E. R. wrote:
On 15/10/2020 07.56, David Haller wrote: ...
127.0.0.1 Telcontar.valinor Telcontar localhost
No, this entry breaks postfix. Well... I haven't tried that exact entry, but the one that YaST created in the past:
127.0.0.2 Telcontar.valinor Telcontar
Then do try that exact entry (no .2). But, admittedly, I do set 'myhostname' explicitly in main.cf. Should work without though. [..] After:
cer@Telcontar:~> hostname Telcontar cer@Telcontar:~> hostname -f Telcontar.valinor cer@Telcontar:~> hostname -a Telcontar localhost Telcontar cer@Telcontar:~> host localhost localhost has address 127.0.0.1 localhost has IPv6 address ::1 cer@Telcontar:~>
Telcontar:~ # systemctl restart postfix Telcontar:~ # systemctl status postfix ? postfix.service - Postfix Mail Transport Agent Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2020-10-15 17:59:19 CEST; 23s ago Process: 31997 ExecStopPost=/etc/postfix/system/cond_slp deregister (code=exited, status=0/SUCCESS) ...
Telcontar:~ # mail cer Subject: test after localhost change hi . EOT Telcontar:~ #
There you go ;) As soon as you do it right, it works ... *hrhr* *scnr*
Dunno about the IPv6 stuff.
It is there on mine
Yeah, should be the same as for 127.0.0.1 AFAIR. BTW: you can add more IPs/Hostnames after the first as above. E.g.: 127.0.0.1 news.example.com news 127.0.0.1 irc.example.com irc [..] 127.0.1.8 track.adform.net adform.net but that's old, I now use dnsmasq where one entry suffices for a whole domain and supports delivering NXDOMAIN instead of 127/8, e.g.: address=/adform.net/ in a seperate file in /etc/dnsmasq.d/, which is included from /etc/dnsmasq.conf: $ host track.adform.net Host track.adform.net not found: 3(NXDOMAIN) $ host track.adform.net 1.1.1.1 Name: 1.1.1.1 Address: 1.1.1.1#53 Aliases: track.adform.net is an alias for track-eu.adformnet.akadns.net. track-eu.adformnet.akadns.net has address 37.157.4.41 [..] HTH, -dnh -- Why oh why did I remember that? Bad brain. Naughty brain. -- JoeB -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 15/10/2020 18.47, David Haller wrote:
Hello,
On Thu, 15 Oct 2020, Carlos E. R. wrote:
On 15/10/2020 10.03, David Haller wrote:
On Thu, 15 Oct 2020, Carlos E.R. wrote:
On 15/10/2020 09.28, Carlos E. R. wrote:
On 15/10/2020 07.56, David Haller wrote: ...
127.0.0.1 Telcontar.valinor Telcontar localhost
No, this entry breaks postfix. Well... I haven't tried that exact entry, but the one that YaST created in the past:
127.0.0.2 Telcontar.valinor Telcontar
Then do try that exact entry (no .2). But, admittedly, I do set 'myhostname' explicitly in main.cf. Should work without though. [..] After:
cer@Telcontar:~> hostname Telcontar cer@Telcontar:~> hostname -f Telcontar.valinor cer@Telcontar:~> hostname -a Telcontar localhost Telcontar cer@Telcontar:~> host localhost localhost has address 127.0.0.1 localhost has IPv6 address ::1 cer@Telcontar:~>
Telcontar:~ # systemctl restart postfix Telcontar:~ # systemctl status postfix ? postfix.service - Postfix Mail Transport Agent Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2020-10-15 17:59:19 CEST; 23s ago Process: 31997 ExecStopPost=/etc/postfix/system/cond_slp deregister (code=exited, status=0/SUCCESS) ...
Telcontar:~ # mail cer Subject: test after localhost change hi . EOT Telcontar:~ #
There you go ;) As soon as you do it right, it works ... *hrhr* *scnr*
:-) Well, at somepoint postfix must have changed ideas about this, or it would not work.
Dunno about the IPv6 stuff.
It is there on mine
Yeah, should be the same as for 127.0.0.1 AFAIR.
BTW: you can add more IPs/Hostnames after the first as above. E.g.:
127.0.0.1 news.example.com news 127.0.0.1 irc.example.com irc [..] 127.0.1.8 track.adform.net adform.net
Yes, that one I knew.
but that's old, I now use dnsmasq where one entry suffices for a whole domain and supports delivering NXDOMAIN instead of 127/8, e.g.:
address=/adform.net/
Yes, I use dnsmasq in this machine. Previously I used bind9. I was not aware of that syntax, though.
in a seperate file in /etc/dnsmasq.d/, which is included from /etc/dnsmasq.conf: $ host track.adform.net Host track.adform.net not found: 3(NXDOMAIN) $ host track.adform.net 1.1.1.1 Name: 1.1.1.1 Address: 1.1.1.1#53 Aliases:
track.adform.net is an alias for track-eu.adformnet.akadns.net. track-eu.adformnet.akadns.net has address 37.157.4.41 [..]
Interesting :-) Does somebody publish lists of such "bad" domains, separated by purposes, like tracking, in ready syntax? -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
Hello, On Thu, 15 Oct 2020, Carlos E.R. wrote:
On 15/10/2020 18.47, David Haller wrote:
There you go ;) As soon as you do it right, it works ... *hrhr* *scnr*
:-)
Well, at somepoint postfix must have changed ideas about this, or it would not work.
Not that I know of. [..]
but that's old, I now use dnsmasq where one entry suffices for a whole domain and supports delivering NXDOMAIN instead of 127/8, e.g.:
address=/adform.net/
Yes, I use dnsmasq in this machine. Previously I used bind9. I was not aware of that syntax, though.
It's somewhat easy to overlook in the manpage: ==== -A, --address=/<domain>[/<domain>...]/[<ipaddr>] # ^ note that the second '/' # is not optional here, but # the IP is As for --server, one or more domains with no address returns a no-such- domain answer, so --address=/example.com/ is equivalent to --server=/example.com/ and returns NXDOMAIN for example.com and all its subdomains. ^^^ [..] ^^^^^^^^^^^^^^^^^^ Note that NULL addresses normally work in the same way as localhost, so beware that clients looking up these names are likely to end up talking to themselves. ==== The last means: don't use '0.0.0.0' or '::' as addresses (in dnsmasq NOR in /etc/hosts).
In a seperate file in /etc/dnsmasq.d/, which is included from /etc/dnsmasq.conf: $ host track.adform.net Host track.adform.net not found: 3(NXDOMAIN) $ host track.adform.net 1.1.1.1 Name: 1.1.1.1 Address: 1.1.1.1#53 Aliases:
track.adform.net is an alias for track-eu.adformnet.akadns.net. track-eu.adformnet.akadns.net has address 37.157.4.41 [..]
Interesting :-)
Does somebody publish lists of such "bad" domains, separated by purposes, like tracking, in ready syntax?
None that I'me aware of. I use not so many sites and UMatrix/UBlock/NoScript (for XSS etc.), so I just add those annoying me a couple of times... Should port my /etc/hosts based blocks to dnsmasq though ;) It's rather easy to add hosts though, you could even use a script/shell-alias/shell-function: ==== /etc/dnsmasq.conf ==== conf-dir=/etc/dnsmasq.d,*.conf ==== That means to only include *.conf files under /etc/dnsmasq.d/, not other files there. ==== /etc/dnsmasq.d/blocklist.conf ==== address=/adform.net/ [..] address=/fb.com/ address=/fb.me/ [..] ==== just use as a script: ==== block_domains.sh ==== #!/bin/bash for domain; do printf 'address=/%s/\n' "$domain" >> /etc/dnsmasq.d/blocklist.conf done systemctl restart dnsmasq ==== or something to that effect ;) I just wish dnsmasq would support brace-expansion, so one could use e.g. 'address=/facebook.{com,de,fr,co.uk,net}/'. But with above script, it'd be: # block_domains.sh facebook.{com,de,fr,co.uk,net} so that'd be ok ;) HTH, -dnh -- To resist the influence of others, knowledge of one's self is most important. -- Teal'C, Stargate SG-1, 9x14 - Stronghold -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 15/10/2020 19.50, David Haller wrote:
Hello,
On Thu, 15 Oct 2020, Carlos E.R. wrote:
On 15/10/2020 18.47, David Haller wrote:
There you go ;) As soon as you do it right, it works ... *hrhr* *scnr*
:-)
Well, at somepoint postfix must have changed ideas about this, or it would not work.
Not that I know of.
You can read the link to the discussion at the postfix mail list, and the corresponding bugzilla here (Bug 824141).
[..]
but that's old, I now use dnsmasq where one entry suffices for a whole domain and supports delivering NXDOMAIN instead of 127/8, e.g.:
address=/adform.net/
Yes, I use dnsmasq in this machine. Previously I used bind9. I was not aware of that syntax, though.
It's somewhat easy to overlook in the manpage:
==== -A, --address=/<domain>[/<domain>...]/[<ipaddr>] # ^ note that the second '/' # is not optional here, but # the IP is
Ah.
As for --server, one or more domains with no address returns a no-such- domain answer, so --address=/example.com/ is equivalent to --server=/example.com/ and returns NXDOMAIN for example.com and all its subdomains. ^^^ [..] ^^^^^^^^^^^^^^^^^^ Note that NULL addresses normally work in the same way as localhost, so beware that clients looking up these names are likely to end up talking to themselves. ====
The last means: don't use '0.0.0.0' or '::' as addresses (in dnsmasq NOR in /etc/hosts).
Ok, nice to have a translation :-)
In a seperate file in /etc/dnsmasq.d/, which is included from /etc/dnsmasq.conf: $ host track.adform.net Host track.adform.net not found: 3(NXDOMAIN) $ host track.adform.net 1.1.1.1 Name: 1.1.1.1 Address: 1.1.1.1#53 Aliases:
track.adform.net is an alias for track-eu.adformnet.akadns.net. track-eu.adformnet.akadns.net has address 37.157.4.41 [..]
Interesting :-)
Does somebody publish lists of such "bad" domains, separated by purposes, like tracking, in ready syntax?
None that I'me aware of.
I know of published hosts files. Windows people use them. An interesting caveat is that now M$ own antivirus (defender?) flags as a virus if you modify the file or if they see their own addresses in there :-} (they list M$ addresses to stop some features from working that can not be uninstalled. Like doing updates, or privacy breaking).
I use not so many sites and UMatrix/UBlock/NoScript (for XSS etc.), so I just add those annoying me a couple of times... Should port my /etc/hosts based blocks to dnsmasq though ;)
It's rather easy to add hosts though, you could even use a script/shell-alias/shell-function:
==== /etc/dnsmasq.conf ==== conf-dir=/etc/dnsmasq.d,*.conf ====
That means to only include *.conf files under /etc/dnsmasq.d/, not other files there.
==== /etc/dnsmasq.d/blocklist.conf ==== address=/adform.net/ [..] address=/fb.com/ address=/fb.me/ [..] ====
just use as a script:
==== block_domains.sh ==== #!/bin/bash for domain; do printf 'address=/%s/\n' "$domain" >> /etc/dnsmasq.d/blocklist.conf done systemctl restart dnsmasq ====
or something to that effect ;)
Right.
I just wish dnsmasq would support brace-expansion, so one could use e.g. 'address=/facebook.{com,de,fr,co.uk,net}/'. But with above script, it'd be:
# block_domains.sh facebook.{com,de,fr,co.uk,net}
so that'd be ok ;)
Yep. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
Hello, On Thu, 15 Oct 2020, Carlos E. R. wrote:
On 15/10/2020 19.50, David Haller wrote:
On Thu, 15 Oct 2020, Carlos E.R. wrote:
On 15/10/2020 18.47, David Haller wrote:
There you go ;) As soon as you do it right, it works ... *hrhr* *scnr*
:-)
Well, at somepoint postfix must have changed ideas about this, or it would not work.
Not that I know of.
You can read the link to the discussion at the postfix mail list, and the corresponding bugzilla here (Bug 824141).
Read that (and linked) a bit, Wietse's (Postfix's) view seems quite sane. And Yast-genreated /etc/hosts files have been broken as such since at least, IIRC, S.u.S.E 5.3 (or always). No idea why that's never been fixed (or even filed as a bug (by anyone, including esp. me *sigh*)).
[..]
but that's old, I now use dnsmasq where one entry suffices for a whole domain and supports delivering NXDOMAIN instead of 127/8, e.g.:
address=/adform.net/
Yes, I use dnsmasq in this machine. Previously I used bind9. I was not aware of that syntax, though.
It's somewhat easy to overlook in the manpage:
==== -A, --address=/<domain>[/<domain>...]/[<ipaddr>] # ^ note that the second '/' # is not optional here, but # the IP is
Ah.
That's tricky. From reading the manpage, it looks as if you can use: address=/example.com/example.org/[<ipaddr>] Hm. Let's just try: $ host example.com example.com has address 93.184.216.34 example.com has IPv6 address 2606:2800:220:1:248:1893:25c8:1946 example.com mail is handled by 0 . $ host example.org [same] $ host example.net [same] [adding address=/example.com/example.org/example.net/127.128.129.130 to dnsmasq config & restarting dnsmasq] $ host example.net example.net has address 127.128.129.130 $ host example.org example.org has address 127.128.129.130 $ host example.com example.com has address 127.128.129.130 [editing to address=/example.com/example.org/example.net/ (note again the trailing '/'!) & restart] $ host example.com Host example.com not found: 3(NXDOMAIN) $ host example.org Host example.org not found: 3(NXDOMAIN) $ host example.net Host example.net not found: 3(NXDOMAIN) Way cool! :) Now that weird syntax makes sense, but the lonely '/' before the optional <ipaddr> is quite easy to overlook inbetween those brackets '[..]/[..]'... But, it's correct :) It might be easier to see, but differently irritating on the syntax if written as: -A, --address=[/<domain>...]/<domain>/[<ipaddr>] but the ending '/' might not quite as easily be overlooked. Writing correct and understandable documentation for syntax like this is _HARD_. Examples can help (but not always!). Using: address=/example.com/example.org/example.net/<ipaddr> to point the example domains to a local webswerver might actually make sense, esp. in a larger organization :)
As for domain answer, so --address=/example.com/ is equivalent to all its subdomains. ^^^ [..] ^^^^^^^^^^^^^^^^^^ Note that NULL addresses normally work in the same way as localhost, so beware that clients looking up these names are likely to end up talking to themselves. ====
The last means: don't use '0.0.0.0' or '::' as addresses (in dnsmasq NOR in /etc/hosts).
Ok, nice to have a translation :-)
You're welcome :) That's another thing you _often_ see: using the NULL address in /etc/hosts or whatnot, which usually is just wrong. But again, my main point was that dnsmasq takes _all subdomains_ of a domain... Continuing above example: $ host www.example.net 1.1.1.1 [..] www.example.net has address 93.184.216.34 $ host foo.bar.example.net 1.1.1.1 Using domain server: Name: 1.1.1.1 Address: 1.1.1.1#53 Aliases: Host foo.bar.example.net not found: 3(NXDOMAIN) $ host www.example.net Host www.example.net not found: 3(NXDOMAIN) $ host foo.bar.example.net Host foo.bar.example.net not found: 3(NXDOMAIN)
In a seperate file in /etc/dnsmasq.d/, which is included from /etc/dnsmasq.conf: $ host track.adform.net Host track.adform.net not found: 3(NXDOMAIN) $ host track.adform.net 1.1.1.1 Name: 1.1.1.1 Address: 1.1.1.1#53 Aliases:
track.adform.net is an alias for track-eu.adformnet.akadns.net. track-eu.adformnet.akadns.net has address 37.157.4.41 [..]
Interesting :-)
Does somebody publish lists of such "bad" domains, separated by purposes, like tracking, in ready syntax?
None that I'me aware of.
I know of published hosts files. Windows people use them.
Not only those ;) But see my answer to Patrick.
An interesting caveat is that now M$ own antivirus (defender?) flags as a virus if you modify the file or if they see their own addresses in there :-} (they list M$ addresses to stop some features from working that can not be uninstalled. Like doing updates, or privacy breaking).
M$. Need I say more? :-P [..]
just use as a script: [..] Right.
I just wish dnsmasq would support brace-expansion, so one could use e.g. 'address=/facebook.{com,de,fr,co.uk,net}/'. But with above script, it'd be:
# block_domains.sh facebook.{com,de,fr,co.uk,net}
so that'd be ok ;)
Yep.
*bg* Glad you see it the same way :) It's a matter of priorities and how much control you want on that level... I use prefabbed blocklists (e.g. EasyList) in UBlock/UMatrix/NoScript in my browsers anyway, but I like to block e.g. farcebarf et.al. on the DNS-level system-wide[1]. Try trackin' me with those ubiquitous like buttons if your domain just does not exist *hrhr*... BTW: you do know that 'valinor' is not a valid TLD? Have you thought about "legalizing" that to e.g. valinor.localdomain? (*$@#! those that took over .local!) I've been using my registered .de domain locally for ~20 years now, ~10 with sendmail, ~10 with postfix. If you know what you're doing, if you've got a grasp on DNS as such, it's not that difficult. The hardest part is seperating out mails to other peeps under the same domain sending them to the smarthost or whereever. I took the easy way and use my second domain for most stuff that goes out :) See 'man 5 transport' and 'man 5 virtual' ;) And yes, all in- and outgoing mail goes through my local postfix, no shortcut from fetchmail to procmail via the former's 'mda' option (which would be totally feasible)... HTH, -dnh [1] and if "needed", I can just comment those 2 lines in the blocklist, restart dnsmasq, run 'youtube-dl ...', uncomment, restart and FB's just seen the dl of the vid "out of the blue" ;) It is very rare (IIRC so far only some severe weather vids I was quite keen on having a look at), so that's absolutely fine. -- No question is too silly to ask, but, of course, some are too silly to answer. -- The Perl book -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 16/10/2020 00.46, David Haller wrote:
Hello,
On Thu, 15 Oct 2020, Carlos E. R. wrote:
On 15/10/2020 19.50, David Haller wrote:
On Thu, 15 Oct 2020, Carlos E.R. wrote:
On 15/10/2020 18.47, David Haller wrote:
There you go ;) As soon as you do it right, it works ... *hrhr* *scnr*
Good to know all that, thanks :-)
Not only those ;) But see my answer to Patrick.
An interesting caveat is that now M$ own antivirus (defender?) flags as a virus if you modify the file or if they see their own addresses in there :-} (they list M$ addresses to stop some features from working that can not be uninstalled. Like doing updates, or privacy breaking).
M$. Need I say more? :-P
[..]
just use as a script: [..] Right.
I just wish dnsmasq would support brace-expansion, so one could use e.g. 'address=/facebook.{com,de,fr,co.uk,net}/'. But with above script, it'd be:
# block_domains.sh facebook.{com,de,fr,co.uk,net}
so that'd be ok ;)
Yep.
*bg* Glad you see it the same way :) It's a matter of priorities and how much control you want on that level... I use prefabbed blocklists (e.g. EasyList) in UBlock/UMatrix/NoScript in my browsers anyway, but I like to block e.g. farcebarf et.al. on the DNS-level system-wide[1]. Try trackin' me with those ubiquitous like buttons if your domain just does not exist *hrhr*...
BTW: you do know that 'valinor' is not a valid TLD? Have you thought about "legalizing" that to e.g. valinor.localdomain? (*$@#! those that took over .local!)
Well, I want it to be "not legal", and I wouldn't consider myself a valid owner of the name. It's Tolkien's. :-)
I've been using my registered .de domain locally for ~20 years now, ~10 with sendmail, ~10 with postfix. If you know what you're doing, if you've got a grasp on DNS as such, it's not that difficult. The hardest part is seperating out mails to other peeps under the same domain sending them to the smarthost or whereever. I took the easy way and use my second domain for most stuff that goes out :) See 'man 5 transport' and 'man 5 virtual' ;) And yes, all in- and outgoing mail goes through my local postfix, no shortcut from fetchmail to procmail via the former's 'mda' option (which would be totally feasible)...
HTH, -dnh
[1] and if "needed", I can just comment those 2 lines in the blocklist, restart dnsmasq, run 'youtube-dl ...', uncomment, restart and FB's just seen the dl of the vid "out of the blue" ;) It is very rare (IIRC so far only some severe weather vids I was quite keen on having a look at), so that's absolutely fine.
heh, curious :-) -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
* Carlos E.R. <robin.listas@gmx.es> [10-15-20 13:03]:
On 15/10/2020 18.47, David Haller wrote:
[...] ## 347.65916/π lines of quoting removed
Aliases:
track.adform.net is an alias for track-eu.adformnet.akadns.net. track-eu.adformnet.akadns.net has address 37.157.4.41 [..]
Interesting :-)
Does somebody publish lists of such "bad" domains, separated by purposes, like tracking, in ready syntax?
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=1&mimetype=plaintext -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 15/10/2020 20.03, Patrick Shanahan wrote:
* Carlos E.R. <> [10-15-20 13:03]:
On 15/10/2020 18.47, David Haller wrote:
[...] ## 347.65916/π lines of quoting removed
Aliases:
track.adform.net is an alias for track-eu.adformnet.akadns.net. track-eu.adformnet.akadns.net has address 37.157.4.41 [..]
Interesting :-)
Does somebody publish lists of such "bad" domains, separated by purposes, like tracking, in ready syntax?
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=1&mimetype=plaintext
In /etc/hosts syntax. Thanks. But that one misses the "separated by purposes", or commenting what does each address there. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
* Carlos E. R. <robin.listas@telefonica.net> [10-15-20 14:14]:
On 15/10/2020 20.03, Patrick Shanahan wrote:
* Carlos E.R. <> [10-15-20 13:03]:
On 15/10/2020 18.47, David Haller wrote:
[...] ## 347.65916/π lines of quoting removed
Aliases:
track.adform.net is an alias for track-eu.adformnet.akadns.net. track-eu.adformnet.akadns.net has address 37.157.4.41 [..]
Interesting :-)
Does somebody publish lists of such "bad" domains, separated by purposes, like tracking, in ready syntax?
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=1&mimetype=plaintext
In /etc/hosts syntax.
Thanks. But that one misses the "separated by purposes", or commenting what does each address there.
you didn't ask, but ... and you will not spend enough time to peruse what you request. there are limits. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 15/10/2020 20.33, Patrick Shanahan wrote:
* Carlos E. R. <> [10-15-20 14:14]:
On 15/10/2020 20.03, Patrick Shanahan wrote:
* Carlos E.R. <> [10-15-20 13:03]:
On 15/10/2020 18.47, David Haller wrote:
[...] ## 347.65916/π lines of quoting removed
Aliases:
track.adform.net is an alias for track-eu.adformnet.akadns.net. track-eu.adformnet.akadns.net has address 37.157.4.41 [..]
Interesting :-)
Does somebody publish lists of such "bad" domains, separated by purposes, like tracking, in ready syntax?
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=1&mimetype=plaintext
In /etc/hosts syntax.
Thanks. But that one misses the "separated by purposes", or commenting what does each address there.
you didn't ask, but ... and you will not spend enough time to peruse what you request. there are limits.
I can not block that many hosts without knowing what they are for. I did ask for purpose separation. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
* Carlos E. R. <robin.listas@telefonica.net> [10-15-20 16:21]:
On 15/10/2020 20.33, Patrick Shanahan wrote:
* Carlos E. R. <> [10-15-20 14:14]:
On 15/10/2020 20.03, Patrick Shanahan wrote:
* Carlos E.R. <> [10-15-20 13:03]:
On 15/10/2020 18.47, David Haller wrote:
[...] ## 347.65916/π lines of quoting removed
Aliases:
track.adform.net is an alias for track-eu.adformnet.akadns.net. track-eu.adformnet.akadns.net has address 37.157.4.41 [..]
Interesting :-)
Does somebody publish lists of such "bad" domains, separated by purposes, like tracking, in ready syntax?
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=1&mimetype=plaintext
In /etc/hosts syntax.
Thanks. But that one misses the "separated by purposes", or commenting what does each address there.
you didn't ask, but ... and you will not spend enough time to peruse what you request. there are limits.
I can not block that many hosts without knowing what they are for. I did ask for purpose separation.
to to the site, pgl.yoyo.org and see what he offers. I only provided the line to the text list for addition to /etc/hosts. use your time instead of mine. I have many other non-essential tasks to waste time on. presently consuming Dos Equis XX while listening to Diana Washington on Amazon Prime music, ie: very busy. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 15/10/2020 22.58, Patrick Shanahan wrote:
* Carlos E. R. <> [10-15-20 16:21]:
On 15/10/2020 20.33, Patrick Shanahan wrote:
* Carlos E. R. <> [10-15-20 14:14]:
On 15/10/2020 20.03, Patrick Shanahan wrote:
* Carlos E.R. <> [10-15-20 13:03]:
On 15/10/2020 18.47, David Haller wrote:
[...] ## 347.65916/π lines of quoting removed
> Aliases: > > track.adform.net is an alias for track-eu.adformnet.akadns.net. > track-eu.adformnet.akadns.net has address 37.157.4.41 > [..]
Interesting :-)
Does somebody publish lists of such "bad" domains, separated by purposes, like tracking, in ready syntax?
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=1&mimetype=plaintext
In /etc/hosts syntax.
Thanks. But that one misses the "separated by purposes", or commenting what does each address there.
you didn't ask, but ... and you will not spend enough time to peruse what you request. there are limits.
I can not block that many hosts without knowing what they are for. I did ask for purpose separation.
to to the site, pgl.yoyo.org and see what he offers. I only provided the line to the text list for addition to /etc/hosts. use your time instead of mine. I have many other non-essential tasks to waste time on.
You could simply have pointed from the start to the information page, but I'm just commenting on why I do not like lists like that one, not asking you to do the job of creating one.
presently consuming Dos Equis XX while listening to Diana Washington on Amazon Prime music, ie: very busy.
:-) -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
* Carlos E.R. <robin.listas@gmx.es> [10-15-20 17:04]:
On 15/10/2020 22.58, Patrick Shanahan wrote:
* Carlos E. R. <> [10-15-20 16:21]:
On 15/10/2020 20.33, Patrick Shanahan wrote:
* Carlos E. R. <> [10-15-20 14:14]:
On 15/10/2020 20.03, Patrick Shanahan wrote:
* Carlos E.R. <> [10-15-20 13:03]: > On 15/10/2020 18.47, David Haller wrote:
[...] ## 347.65916/π lines of quoting removed
> > Aliases: > > > > track.adform.net is an alias for track-eu.adformnet.akadns.net. > > track-eu.adformnet.akadns.net has address 37.157.4.41 > > [..] > > Interesting :-) > > Does somebody publish lists of such "bad" domains, separated by purposes, > like tracking, in ready syntax?
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=1&mimetype=plaintext
In /etc/hosts syntax.
Thanks. But that one misses the "separated by purposes", or commenting what does each address there.
you didn't ask, but ... and you will not spend enough time to peruse what you request. there are limits.
I can not block that many hosts without knowing what they are for. I did ask for purpose separation.
to to the site, pgl.yoyo.org and see what he offers. I only provided the line to the text list for addition to /etc/hosts. use your time instead of mine. I have many other non-essential tasks to waste time on.
You could simply have pointed from the start to the information page, but I'm just commenting on why I do not like lists like that one, not asking you to do the job of creating one.
presently consuming Dos Equis XX while listening to Diana Washington on Amazon Prime music, ie: very busy.
:-)
all you want is at https://pgl.yoyo.org/ -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, On Thu, 15 Oct 2020, Patrick Shanahan wrote:
* Carlos E.R. <robin.listas@gmx.es> [10-15-20 13:03]:
On 15/10/2020 18.47, David Haller wrote:
[...] ## 347.65916/? lines of quoting removed
Aliases:
track.adform.net is an alias for track-eu.adformnet.akadns.net. track-eu.adformnet.akadns.net has address 37.157.4.41 [..]
Interesting :-)
Does somebody publish lists of such "bad" domains, separated by purposes, like tracking, in ready syntax?
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=1&mimetype=plaintext
Patrick, you should have read the mail you answered to, a format for 'dnsmasq' was asked about! And, lo and behold, that site _does_ offer such a formatting, albeit one, that has to be massaged, but in both cases, it's easy: https://pgl.yoyo.org/adservers/serverlist.php?hostformat=dnsmasq-server&mimetype=plaintext -> sed 's/^server=/address=/' https://pgl.yoyo.org/adservers/serverlist.php?hostformat=dnsmasq&mimetype=plaintext -> sed 's@/127.0.0.1$@@' (automating this via curl/wget | sed > /etc/dnsmasq.d/blocklist-yoyo.conf and cron is trivial and left as an exercise to the reader ;) The point about the purpose of entries remains. Hm. Maybe ask pgl.yoyo.org about providing the 'address=/domain/' format directly? Me? I prefer to manage my blocklist(s) manually, with dnsmasq's ability to make whole domains NXDOMAIN and not just single hosts as with /etc/hosts, it's quite manageable and the sites I visit tend to use all the same adservers/unwanted hosts anyway. And using iptables/nftables for such purposes would be just stupid (as hostnames get resolved at startup / insertion of the rule, and e.g. for the mentioned track.adform.net only one of 8 IPs would be blocked, at least with iptables! (just talking IPv4 here)). Well, Carlos, you've got the choice ;) -dnh -- / "You know how cats always land on their feet when they fall \ [ from a sufficient height? Well, so do CPU's, but they don't ] \ make such a good job of landing intact..." -- Chris King / -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 15/10/2020 23.32, David Haller wrote:
Hello,
On Thu, 15 Oct 2020, Patrick Shanahan wrote: * Carlos E.R. <> [10-15-20 13:03]:
On 15/10/2020 18.47, David Haller wrote:
[...] ## 347.65916/? lines of quoting removed
Aliases:
track.adform.net is an alias for track-eu.adformnet.akadns.net. track-eu.adformnet.akadns.net has address 37.157.4.41 [..]
Interesting :-)
Does somebody publish lists of such "bad" domains, separated by purposes, like tracking, in ready syntax?
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=1&mimetype=plaintext
Patrick, you should have read the mail you answered to, a format for 'dnsmasq' was asked about! And, lo and behold, that site _does_ offer such a formatting, albeit one, that has to be massaged, but in both cases, it's easy:
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=dnsmasq-server&mimetype=plaintext
-> sed 's/^server=/address=/'
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=dnsmasq&mimetype=plaintext
-> sed 's@/127.0.0.1$@@'
(automating this via curl/wget | sed > /etc/dnsmasq.d/blocklist-yoyo.conf and cron is trivial and left as an exercise to the reader ;)
The point about the purpose of entries remains.
Yes.
Hm. Maybe ask pgl.yoyo.org about providing the 'address=/domain/' format directly?
Me? I prefer to manage my blocklist(s) manually, with dnsmasq's ability to make whole domains NXDOMAIN and not just single hosts as with /etc/hosts, it's quite manageable and the sites I visit tend to use all the same adservers/unwanted hosts anyway.
How do you find the names of those pesky sites? Wondering aloud. Those lists at yoyo are huge, I doubt I really want to block all of them. Perhaps I would prefer a limited list such as what some blockers call "intrusive advertising". I do not want to block all adverts, only those that, for example, create a floating banner that makes reading difficult. After all, sites have to make a living.
And using iptables/nftables for such purposes would be just stupid (as hostnames get resolved at startup / insertion of the rule, and e.g. for the mentioned track.adform.net only one of 8 IPs would be blocked, at least with iptables! (just talking IPv4 here)).
Right.
Well, Carlos, you've got the choice ;)
It is one of those things in the back of my mind, not top priority :-) ublock does a good job, considering. Then, for example, let's say that I do want to open facebook one day I do rarely, but I do. I dedicate a separate Firefox profile to it, so that they can not relate my identity to all my browsing. Similarly I have another for Amazon. This means I can not block the entire amazon domain at the dns level. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On 10/15/20 2:28 AM, Carlos E. R. wrote:
Adding a fourth field is not in my documentation :-?
::1 Telcontar.valinor Telcontar localhost ipv6-localhost ipv6-loopback 192.168.1.14 Telcontar.valinor Telcontar ====
Everything after the FQDN are aliases, so you can have as many as you like. Personally, I would order it: 127.0.0.1 Telcontar.valinor localhost Telcontar The use of 127.0.0.2 has basically been done away with. It was used up through 11.4? but I think when IPv6 was integrated that (I don't even know what you actually call it) implementation was retired. I don't have any hard details there. The use of 127.0.0.2 (with RFC references) is described here: https://superuser.com/questions/393700/what-is-127-0-0-2-ip-address-for -- David C. Rankin, J.D.,P.E.
David C. Rankin wrote:
The use of
127.0.0.2 has basically been done away with. It was used up through 11.4? but I think when IPv6 was integrated that (I don't even know what you actually call it) implementation was retired. I don't have any hard details there.
IPv6 was integrated/implemented quite a while before that - starting 2006, I was using an ipv6 tunnel - I don't know what that corresponds to in terms of SUSE/openSUSE releases, maybe 10.0 ? I think(!) the /etc/hosts used to be "127.0.0.2 linux.site linux" (I see it mentioned in several places on the net) I also see it mentioned way earlier, on the suse-linux-e lists in 2001, but unfortunately the archive is gone. I don't quite get why 127.0.0.2 should be a topic now, almost twenty years later :-)
The use of 127.0.0.2 (with RFC references) is described here: https://superuser.com/questions/393700/what-is-127-0-0-2-ip-address-for
TBH, I don't see much description other than people talking about what it _might_ be used for. I use a few 127.x.x.x addresses myself, 127.0.0.1, 127.0.0.36, 127.0.0.99 and 127.0.0.111, for instance. On a large mailserver setup, instead of having miscellaneous services use localhost:xxxxx, we have them use 'some.local.name:pp', which makes the mail log easier to read. ("some.local.name" resolves to some 127.0.0.x address). -- Per Jessen, Zürich (8.3°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
17.10.2020 11:16, Per Jessen пишет:
I think(!) the /etc/hosts used to be "127.0.0.2 linux.site linux" (I see it mentioned in several places on the net)
Many programs expected local host name to resolve to IP address and misbehaved when this failed. So host name was assigned to 127.0.0.2 to make it always resolvable and independent of dynamic real IP address. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 17/10/2020 10.16, Per Jessen wrote:
David C. Rankin wrote:
The use of
127.0.0.2 has basically been done away with. It was used up through 11.4? but I think when IPv6 was integrated that (I don't even know what you actually call it) implementation was retired. I don't have any hard details there.
IPv6 was integrated/implemented quite a while before that - starting 2006, I was using an ipv6 tunnel - I don't know what that corresponds to in terms of SUSE/openSUSE releases, maybe 10.0 ?
I think(!) the /etc/hosts used to be "127.0.0.2 linux.site linux" (I see it mentioned in several places on the net)
I also see it mentioned way earlier, on the suse-linux-e lists in 2001, but unfortunately the archive is gone.
Huh? I see the archive there. Mine starts on 2003.
I don't quite get why 127.0.0.2 should be a topic now, almost twenty years later :-)
Oh, because I showed the commented out line in my /etc/hosts file, and mentioned why I have it commented out, and David Haller convinced me to put a variant back.
The use of 127.0.0.2 (with RFC references) is described here: https://superuser.com/questions/393700/what-is-127-0-0-2-ip-address-for
TBH, I don't see much description other than people talking about what it _might_ be used for. I use a few 127.x.x.x addresses myself, 127.0.0.1, 127.0.0.36, 127.0.0.99 and 127.0.0.111, for instance. On a large mailserver setup, instead of having miscellaneous services use localhost:xxxxx, we have them use 'some.local.name:pp', which makes the mail log easier to read. ("some.local.name" resolves to some 127.0.0.x address).
-- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
Carlos E. R. wrote:
On 17/10/2020 10.16, Per Jessen wrote:
David C. Rankin wrote:
The use of
127.0.0.2 has basically been done away with. It was used up through 11.4? but I think when IPv6 was integrated that (I don't even know what you actually call it) implementation was retired. I don't have any hard details there.
IPv6 was integrated/implemented quite a while before that - starting 2006, I was using an ipv6 tunnel - I don't know what that corresponds to in terms of SUSE/openSUSE releases, maybe 10.0 ?
I think(!) the /etc/hosts used to be "127.0.0.2 linux.site linux" (I see it mentioned in several places on the net)
I also see it mentioned way earlier, on the suse-linux-e lists in 2001, but unfortunately the archive is gone.
Huh? I see the archive there. Mine starts on 2003.
I found this link, somewhere: https://lists.suse.com/archive/suse-linux-e/2001-Oct/2197.html -- Per Jessen, Zürich (10.5°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/10/2020 12.40, Per Jessen wrote:
Carlos E. R. wrote:
On 17/10/2020 10.16, Per Jessen wrote:
David C. Rankin wrote:
The use of
127.0.0.2 has basically been done away with. It was used up through 11.4? but I think when IPv6 was integrated that (I don't even know what you actually call it) implementation was retired. I don't have any hard details there.
IPv6 was integrated/implemented quite a while before that - starting 2006, I was using an ipv6 tunnel - I don't know what that corresponds to in terms of SUSE/openSUSE releases, maybe 10.0 ?
I think(!) the /etc/hosts used to be "127.0.0.2 linux.site linux" (I see it mentioned in several places on the net)
I also see it mentioned way earlier, on the suse-linux-e lists in 2001, but unfortunately the archive is gone.
Huh? I see the archive there. Mine starts on 2003.
I found this link, somewhere:
https://lists.suse.com/archive/suse-linux-e/2001-Oct/2197.html
(gives error 404) Is it not the same as <https://lists.opensuse.org/opensuse/2001-10/all.html> ? 127.0.0.2 is mentioned. it's about SuSEconfig adding the line when it was not wanted, and how to disable creation of the hosts file. I seem to recall that there was an specific setting that disabled the 127.0.0.2 one. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On 2020-10-17 4:16 a.m., Per Jessen wrote:
IPv6 was integrated/implemented quite a while before that - starting 2006, I was using an ipv6 tunnel - I don't know what that corresponds to in terms of SUSE/openSUSE releases, maybe 10.0 ?
I think(!) the /etc/hosts used to be "127.0.0.2 linux.site linux" (I see it mentioned in several places on the net)
I also see it mentioned way earlier, on the suse-linux-e lists in 2001, but unfortunately the archive is gone. I don't quite get why 127.0.0.2 should be a topic now, almost twenty years later:-)
I first read about IPv6 in the April 1995 issue of Byte magazine. I've been running it since May 2010. Also, I could never understand why an entire class A address block was assigned to loopback. IPv6 has a single loopback address, ::1. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/17/20 3:16 AM, Per Jessen wrote:
TBH, I don't see much description other than people talking about what it _might_ be used for. I use a few 127.x.x.x addresses myself, 127.0.0.1, 127.0.0.36, 127.0.0.99 and 127.0.0.111, for instance. On a large mailserver setup, instead of having miscellaneous services use localhost:xxxxx, we have them use 'some.local.name:pp', which makes the mail log easier to read. ("some.local.name" resolves to some 127.0.0.x address).
The crux I got from the link was that 127.0.0.2 was implementation defined (by the various distros) to behave as they needed it to. So there wasn't any one thing that that address did on its own. (it could have been any 127.0.0 address, but I guess the next after .1 was what most used when they used it) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (9)
-
Andrei Borzenkov
-
Carlos E. R.
-
Carlos E.R.
-
David C. Rankin
-
David Haller
-
James Knott
-
Patrick Shanahan
-
Per Jessen
-
Ralph