Doorgaan naar hoofdcontent

TransIP nameserver change (how to update your linux Ubuntu VM/VPS)

NOTE TO SELF: change DNS on TransIP VPS machines.



Today I got an email from TransIP.

Nameservers are changed. 

Please update your virtual machine.

Old info : 80.69.67.66, 80.69.67.67, 2a01:7c8:a::c53, 2a01:7c8:b::c53

New info is :

195.8.195.8
195.135.195.135
2a01:7c8:7000:195::8:195:8
2a01:7c8:7000:195::135:195:135

Ok, now I have to get into my machine and update this stuff.

I used my normal SSH login to get a prompt. 

(user oetelx can use sudo because this user is in admin group)

I checked if the new IP adresses actually are running a valid DNS server before assuming anything.

oetelx@www:~$ dig @195.135.195.135 www.oetelaar.com



; <<>> DiG 9.11.3-1ubuntu1.13-Ubuntu <<>> @195.135.195.135 www.oetelaar.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3218
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 1



;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1280
;; QUESTION SECTION:
;www.oetelaar.com. IN A



;; ANSWER SECTION:
www.oetelaar.com. 86399 IN CNAME oetelaar.com.
oetelaar.com. 86400 IN A 136.144.179.13



;; AUTHORITY SECTION:
oetelaar.com. 86399 IN NS ns1.dsserver.nl.
oetelaar.com. 86399 IN NS ns2.dsserver.nl.



;; Query time: 771 msec
;; SERVER: 195.135.195.135#53(195.135.195.135)
;; WHEN: Fri Sep 04 12:23:37 CEST 2020
;; MSG SIZE rcvd: 122

OK, that response seems to be reasonable.

This is my setup, some Ubuntu 18.04 LTS servers, always running.

oetelx@www:~$ cat /etc/issue.net 

Ubuntu 18.04.5 LTS

oetelx@www:~$ uname -a

Linux www 4.15.0-115-generic #116-Ubuntu SMP Wed Aug 26 14:04:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

My network config is in /etc/network/interfaces

Edit the config as an admin user using vim

oetelx@www:~$ sudo vim /etc/network/interfaces

[sudo] password for oetelx:

<type type type>

<esc>:wq


This is my new config (comment out the old stuff)

oetelx@www:/etc/network$ cat interfaces 
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto ens3
iface ens3 inet static
    address 136.144.179.13
    network 136.144.179.0
    netmask 255.255.255.0
    broadcast 136.144.179.255
    gateway 136.144.179.1
    # dns-nameservers 80.69.67.66 80.69.66.67
    dns-nameserver 195.8.195.8 195.135.195.135
    dns-search l18l.nl
    # This is an autoconfigured IPv6 interface
    # iface ens3 inet6 auto
iface ens3 inet6 static
    address 2a01:7c8:aac6:a8::1
    netmask 48
    gateway 2a01:7c8:aac6::1
    # dns-nameservers 2a01:7c8:b::c53 2a01:7c8:a::c53

    dns-nameservers 2a01:7000:195::8:195:8 2a01:7c8:7000:195::135:195:135
    dns-search l18l.nl
# end

Hope this helps, it just how I did it.
Best regards, #oetelx

Reacties

Populaire posts van deze blog

Denon DHT T100 DESIGNED TO FAIL : bad caps (ceramic caps this time)

A friend gave me a Denon DHT-T100 to look at.
Do not spend much time on it.. ok.


It had a problem, it started clicking and ticking after power on, and after some time.
(a so called intermittent problem)

Sometimes it did not tick or click, but it was basically not usable.
The clicking had a sharp click in one channel and repeated after about a second, then sound recovered and it would click and drop out again.

He told me, do not spend any time on it, yeah, right. ;-) like I would give up after 15 minutes.
I wanted to know what was going on with this thing, I found some schematic online and started measuring the usual things.

The power supply, 24V did it drop down when a tick occurred ? Difficult to find out because sometimes the thing would play for hours without a glitch.

I eventually found out the 24 V PSU, the step down SMPS on board and the LDO's were all ok, all power rails remained within spec, but it still glitched sometimes. (while power was ok)

I investigated methodically,…

Raspberry Pi, PyFace Digital, the lost documentation, I found it finally

The Raspberry PI or R-pi from http://www.raspberrypi.org/ is well known these days.
It is not an accident that I have one, I have been doing Linux stuff since 1991, and professionally since 1996 I can not skip over these developments, have to keep up with the new kids. :-)
Times have changed, hardware has become very affordable, everybody knows the Arduino, Raspberry Pi and Beagle-Bone-Black (BBB). Not everybody knows the stuff that http://www.acmesystems.it/ aka Acme-Systems and https://github.com/OLIMEX/OLINUXINO aka Olimex make, so I will endorse them here.
Since I am an engineer I expect to connect switches and relays to the boards and some documentation with products, not so with the "PiFace Digital" board, it comes without serious documentation, not a even the schematic. All links on their blog point nowhere. People asked them many times, yet nowhere is the schematic to be found.

I finally found some info after hours of google-work, someone made a copy!
https://github.c…

Nederland van het aardgas af, dat schiet lekker op (NOT!)

Om dingen even in perspectief te plaatsen moet je gewoon even wat berekeningen maken.
We gaan Nederland van het aardgas afhalen (de burgers) omdat?

https://www.ad.nl/wonen/nederland-heeft-nog-lange-weg-te-gaan-gasverbruik-stijgt~aaf1527e/

In USA fakkelen ze 2123763,4944 m3 aardgas af per UUR
(bij winning van olie, gas is ongewenst daar, opslag niet handig, goedkoper om te fakkelen)


1.8 miljard cubic feet per dag...

Ons Nederlandse gasverbruik (huishoudens) is : 1500 m3 per jaar per huishouden

Even rekenen 2.1 miljoen m3 per uur, dat is

24 * 365 * 2.100.000,00 = 18.400.000.000,00 m3 aardgas affakkelen per jaar

(even de rekenmachine pakken)

18.400.000.000 / 1500 => aantal huishoudens Nederland

dat is voor 12.3 miljoen huishoudens (met gasverbruik van 1550 m3/jr)

Naast het opbranden lozen ze ook nog gewoon aardgas direct in de atmosfeer. (genaamd Venting)

Waarom moet ik ook alweer van het aardgas af?

Niet voor het milieu en de toekomst van onze kinderen, daarvoor helpt het helemaal…