Lipiec « 2015 « Różności …

Różności …

25 lipca 2015

nslookup

Zaszufladkowany do: Linux — Tagi: — Jacek @ 05:29

You’ll want the SOA (Start of Authority) record for a given domain name, and this is how you accomplish it using the universally available nslookup command line tool:

command line> nslookup
> set querytype=soa
> stackoverflow.com
Server:         217.30.180.230
Address:        217.30.180.230#53

Non-authoritative answer:
stackoverflow.com
        origin = ns51.domaincontrol.com # ("primary name server" on Windows)
        mail addr = dns.jomax.net       # ("responsible mail addr" on Windows)
        serial = 2008041300
        refresh = 28800
        retry = 7200
        expire = 604800
        minimum = 86400
Authoritative answers can be found from:
stackoverflow.com       nameserver = ns52.domaincontrol.com.
stackoverflow.com       nameserver = ns51.domaincontrol.com.

source: http://stackoverflow.com/questions/38021/how-do-i-find-the-authoritative-name-server-for-a-domain-name 

24 lipca 2015

linux route

Zaszufladkowany do: Linux — Tagi: — Jacek @ 14:57

ifconfig eth0 down

iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -X chain – usnięcie łańcucha
iptables -F

route add default gw 192.168.4.254 eth1
route add -net 192.168.4.0 netmask 255.255.255.0 dev eth1

route del -net 192.168.4.0 netmask 255.255.255.0 gw 0.0.0.0 dev eth1
route del -net 192.168.4.0 netmask 255.255.255.0 gw 0.0.0.0 dev eth1
route del -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.4.254 dev eth1
route del -net 192.168.4.0 netmask 255.255.255.0 gw 0.0.0.0 dev eth1

22 lipca 2015

firefox java plugin

Zaszufladkowany do: Linux — Tagi: — Jacek @ 17:05
sudo apt-get install icedtea-plugin

Strona startowa: www.jaceksen.pl