You are viewing our Forum Archives. To view or take place in current topics click here.
I have almost finished my server!
Posted:

I have almost finished my server!Posted:

UDL
  • TTG Senior
Status: Offline
Joined: Apr 29, 201113Year Member
Posts: 1,161
Reputation Power: 57
Status: Offline
Joined: Apr 29, 201113Year Member
Posts: 1,161
Reputation Power: 57
Hey guys,

For the convenience of TTG i have created a server, there is only one problem. When i install all the files and get everything up and running, the DNS seems to not show up?

Anyone have any ideas?

Install code:

#!/bin/bash
cd /
sudo apt-get purge bind9

IP=`curl -4 ifconfig.me`
echo $IP prod.cloud.rockstargames.com prod.ros.cloud.rockstargames.com > /etc/hosts2
apt-get update
apt-get install nginx dnsmasq
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -p udp --dport 53 -j ACCEPT
echo nameserver 4.2.2.1 >/etc/resolv.conf
echo nameserver 4.2.2.2 >>/etc/resolv.conf
echo nameserver 4.2.2.1 >> /etc/resolvconf/resolv.conf.d/head
echo nameserver 4.2.2.2 >> /etc/resolvconf/resolv.conf.d/head


service nginx restart
service dnsmasq restart
echo
echo "Your DNS server's public IP is: "$IP
echo "Your DNS server's eth0 IP is: "`/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'`


Picture: [ Register or Signin to view external links. ]
#2. Posted:
xXDAPJRXx
  • 2 Million
Status: Offline
Joined: Nov 11, 201113Year Member
Posts: 50
Reputation Power: 1
Status: Offline
Joined: Nov 11, 201113Year Member
Posts: 50
Reputation Power: 1
take some code from some successful servers
#3. Posted:
UDL
  • TTG Senior
Status: Offline
Joined: Apr 29, 201113Year Member
Posts: 1,161
Reputation Power: 57
Status: Offline
Joined: Apr 29, 201113Year Member
Posts: 1,161
Reputation Power: 57
That install code is not written by me, it is by the guy that had the first DNS.
#4. Posted:
Darkillerqc
  • New Member
Status: Offline
Joined: Dec 22, 201311Year Member
Posts: 16
Reputation Power: 0
Status: Offline
Joined: Dec 22, 201311Year Member
Posts: 16
Reputation Power: 0
Ok Invite me ;) gt Darkiller QC
#5. Posted:
13damien123
  • Challenger
Status: Offline
Joined: May 01, 201113Year Member
Posts: 132
Reputation Power: 5
Status: Offline
Joined: May 01, 201113Year Member
Posts: 132
Reputation Power: 5
can anyone help me too start me off making a sever like were to start ?
#6. Posted:
Cups
  • TTG Senior
Status: Offline
Joined: Dec 01, 201311Year Member
Posts: 1,262
Reputation Power: 63
Status: Offline
Joined: Dec 01, 201311Year Member
Posts: 1,262
Reputation Power: 63
Man ive been trying to get one of these codes to work for 2hours
i hope ur almoat done
#7. Posted:
Lsuboy276
  • New Member
Status: Offline
Joined: Dec 22, 201311Year Member
Posts: 7
Reputation Power: 0
Status: Offline
Joined: Dec 22, 201311Year Member
Posts: 7
Reputation Power: 0
if u get it working please invite me gt:lsuboy276
#8. Posted:
NDSU
  • TTG Senior
Status: Offline
Joined: Oct 01, 201311Year Member
Posts: 1,273
Reputation Power: 51
Status: Offline
Joined: Oct 01, 201311Year Member
Posts: 1,273
Reputation Power: 51
So many fricken Leaches. ^ ^^^

but if you get it too work Private Message me (don't put it out there, it will get ddosed) I can pay for it
#9. Posted:
Strongly
  • TTG Senior
Status: Offline
Joined: Aug 29, 201212Year Member
Posts: 1,114
Reputation Power: 49
Status: Offline
Joined: Aug 29, 201212Year Member
Posts: 1,114
Reputation Power: 49
NDSU wrote So many fricken Leaches. ^ ^^^

but if you get it too work Private Message me (don't put it out there, it will get ddosed) I can pay for it

Lol, This post is the definition of a leech.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.