Ubuntu :: DNS SRV Records - Subdomains Work On IP Address?
Apr 11, 2011
I am quite interested in one thing. I am trying to code my dns server that when I connect to one of my subdomains it connects not only to an ip address but to an ip : port address. For this I tried using SRV record, but with lack of success.
Dns server specification:
OS Ubuntu server 10.10 and using bind9
I have configured everything so that my subdomains work on an ip address, but I need some of them to work on ip : port too. In my brfconcept.lv.db file i used: (what I mentioned below isn't the full content of the file)
Code:
_http._udp IN SRV 0 5 27017 testing.brfconcept.lv
testing IN A 83.99.211.134
in my rev.0.168.192.in-addr.arpa i used: (what I mentioned below isn't the full content of the file)
Code:
134 IN PTR testing.brfconcept.lv
What I would want is not just for 1 service to aim at at the 27017 port but all services if its possible, when you enter testing.brfconcept.lv Is that possible and what am I doing wrong?
View 8 Replies
ADVERTISEMENT
Feb 21, 2010
i was looking for a way to find out all subdomains of a domain and i have found dig.But it doesn't seam to work how i sow in those tutorials.this is what i get:
PHP Code:[code]....
Is there other way that i can find out all subdomains of a domain?
View 1 Replies
View Related
Sep 16, 2010
I have a DNS server on my LAN at 192.168.140.25. Going by the example in the O'Reilly DNS and BIND book I bought, I set up the domain movie.edu and toystory.movie.edu. To my great surprise and delight, I can access toystory.movie.edu in a browser from another PC on the LAN (as long as I add 192.168.140.25 to the DNS servers). Encouraged by this victory, I decided to try to set up another subdomain at coupon.movie.edu. This kind of worked but not completely. Interestingly, I can get to both toystory.movie.edu and coupon.movie.edu on my server, but on my PC, I can only get to toystory.movie.edu, not coupon.movie.edu.
Here is my db.movie.edu:
Code:
$TTL 3h
movie.edu. IN SOA toystory.movie.edu. al.movie.edu. (
1 ; Serial
3h ; Refresh after 3 hours
1h ; Retry after 1 hour
1w ; Expire after 1 week
1h ) ; Negative caching TTL of 1 hour
movie.edu. IN NS toystory.movie.edu.
movie.edu. IN NS coupon.movie.edu.
;
; Host addresses
;
localhost.movie.edu. IN A 127.0.0.1
toystory.movie.edu. IN A 192.168.140.25
coupon.movie.edu. IN A 192.168.140.25
And here is my named.conf:
Code:
options {
directory "/etc/bind";
};
zone "movie.edu" in {
type master;
file "db.movie.edu";
};
zone "140.168.192.in-addr.arpa" in {
type master;
file "db.192.168.140";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "db.127.0.0";
};
zone "." in {
type hint;
file "db.cache";
};
#include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
#include "/etc/bind/named.conf.default-zones";
View 2 Replies
View Related
Mar 31, 2011
I'm doing development on a site, let's call it mysite.com. mysite.com and www.mysite.com works fine, but proxy.mysite.com and dev.mysite.com point to the LAMP stack running on my computer. Pinging mysite.com gives me:
Code:
64 bytes from server.myhost.com (64.64.0.102): icmp_req=1 ttl=47 time=47.4 ms
Whereas dev.mysite.com gives me:
Code:
64 bytes from localhost.localdomain (127.0.0.1): icmp_req=1 ttl=64 time=0.031 ms
Subdomains of any other site work fine. I am absolutely baffled. What in the world could be causing this? I haven't been messing around in /etc/hosts or anything like that.
View 3 Replies
View Related
Jan 20, 2010
I have set up a dedicated server running Ubuntu Server Edition. I have apache2 installed and running great. I wish to let friends and family host their individiual websites on it, but I'm running into a bit of a dillema. It seems that my server automatically redirects them to my home page and not theirs.
[code].....
View 4 Replies
View Related
Feb 16, 2010
I am trying to add subdomains on ubuntu 9.10 desktop edition and and I am not sure whether I need to add some info.(such as 127.0.0.1 sub1.example.com and so on) to the /etc/hosts file like the windows' windows/system32/drivers/etc/hosts file. I used to use the wamp-server(on Windows 7), I needed to edit 3 files, httpd.conf, httpd-vhosts.conf and hosts. And almost every edit is made in the httpd-vhosts.conf file on wamp-serveriles should be edited? or what else should be done that I didn't mention?
View 1 Replies
View Related
May 4, 2009
Here is my network setup:
Internet <-> [public IP] Router [192.168.x.x] <-> Local
Local <-> DMZ
Local <-> HostB
Local <-> HostC
I have a system set up as a DMZ which works great for accessing SSH and other various services. I have a dyndns account that points to my public IP and allows me to access my DMZ box from around the world. I would like to make a subdomain of my current dyndns account and point it to HostB so that it can host a webserver on it, and have another subdomain point to HostC with a separate webserver on it. each would have SSH, FTP, Etc and have to not conflict with one another behind one IP. I don't even know if it is possible, but it seems like if there is a request for dev.host.homelinux.com that packet would have to hit [URL]and could be iptable'd to be routed to the appropriate local machine somehow.
View 2 Replies
View Related
Feb 10, 2011
I work as webdeveloper and I and my co-workers have one rule - if we are done with any project, we comment them with underline at the end of the directory name. For example we have domain 'devel.domain.com' and our projects are located on projectname.devel.domain.com' . Commented project looks like thisAnd here is the problem. I can not acces subdomains ended with underline. It works last time in 9.10 (i think), but since 10.04 gives me the browser only SERVER NOT FOUND. We are using this comment-method for 7 years without problems. Why is this problem in last two editions of Ubuntu?note: there is no problem with accessing ended projects under windows or osx.
View 2 Replies
View Related
Aug 18, 2011
I am not using cpanel or anything, just SSH PuTTY client. my domain is [URL]now I want to craete a sub domain i.e [URL] , how will I create this ? so I can upload files to the sub domain
View 1 Replies
View Related
Oct 20, 2010
just wanted to know how to add subdomains, how to add users to those subdomains to send and receive mail in fedora 13.
View 3 Replies
View Related
Sep 16, 2010
I have a DNS server on my LAN at 192.168.140.25. Going by the example in the O'Reilly DNS and BIND book I bought, I set up the domain movie.edu and [URL]. To my great surprise and delight, I can access toystory.movie.edu in a browser from another PC on the LAN (as long as I add 192.168.140.25 to the DNS servers). Encouraged by this victory, I decided to try to set up another subdomain at [URL].
This kind of worked but not completely. Interestingly, I can get to both [URL] and [URL] on my server, but on my PC, I can only get to [URL] not [URL]. Here is my db.movie.edu:
Code:
$TTL 3h
movie.edu. IN SOA toystory.movie.edu. al.movie.edu. (
1 ; Serial
3h ; Refresh after 3 hours
[code]....
View 1 Replies
View Related
Feb 12, 2011
I have a server with multiple domains and a DNS service (bind9) my main domain is registered with GoDaddy and it's A-record points to my server, it then has CNAME records with ns1 and ns2. I use ns1 and ns2 to point my other domains to the DNS server I host, which then manages what happens.
Anyway, what I would like to do is enable the DNS server to manage the subdomains on my main host. For example, if the domain was example.com and I use admin.example.com in the DNS server, it will not follow through unless I set the cname up, whereas my others will. How do I do a similar thing for my main domain.
View 2 Replies
View Related
May 16, 2009
I run my own DNS servers and host my own domains. I'd like to host a few subdomains of one of my domains on a server with a dynamic IP. Is there a way to do this? I *believe* that I can host one subdomain by using a CNAME record and a dynamic DNS service.
[code]....
How can I host more than one subdomain on a server with a dynamic IP address?
View 2 Replies
View Related
Dec 12, 2010
When I first encountered this problem, I though it would be a simple solution, but i must just be missing something obvious.i have a few name based hosts configured in apache.when i go to "www.adomainname.com" i get the first website on this list, not "adomainname.com", as i would like. Does anyone have any ideas on how to fix this?here is the relevant part of my config files:
Code:
<VirtualHost *:80>
DocumentRoot "/var/www/httest"
[code]....
View 4 Replies
View Related
Jul 28, 2011
I have working localhost on my Fedora 15. Directory tree look like this
Code:
/var/www/html/default
/var/www/html/projects
/projects/foo
/projects/bar
[code]....
View 2 Replies
View Related
May 8, 2011
I want to setup a mail virtualserver in apache so that a mail. subdomain whats pointed to the box will automatically goto my roundcube install. i have all of the document root stuff working, however, mail.* doesnt work for a server name.
View 1 Replies
View Related
Dec 15, 2010
On my server I've a OpenVPN gateway and a DNS bind9 serveur At the moment, OpenVPN send opendns address to the clients and it works fine. I would like to use my DNS server for my clients to work with any DNS address. Here is OpenVPN config :
[Code].....
View 1 Replies
View Related
Mar 3, 2011
My computer running Ubuntu 10.10 cannot see the Samba shares on either of my two Windows XP machines. I have Samba installed and configured, I am on the correct workgroup. However, under "Network", there is only one item - Windows Network, which contains no workgroups. I am hosting a share on this Ubuntu PC, but I haven't had the time lately to see if I can view it from the Windows XP computers. If I click Connect to Server, and enter the IP Address of one of my XP computers, I can connect to them. However, if I enter the computer's name I get "Failed to retrieve share list from server" without a specific share, and with it I get "Failed to mount Windows share."
View 2 Replies
View Related
Oct 29, 2009
I cannot get a static IP to work on Fedora 11. Using Network Manager, I set the IP to 192.168.1.130, the subnet mask to 255.255.255.0 and the gateway to 192.168.1.0 but it doesn't work. I also tried 192.168.1.1 for the gateway, which is what I used in FC7 but still no luck. I verified that these are the settings that I used in FC7, I don't remember ever having a problem before with this.I do remember someone telling me not to use Network Manager in conjunction with Network Configuration... does that make sense? That was for FC9 on my laptop and it was for the wireless so perhaps that doesn't apply here. I did try unchecking the box for Network Manager and using strictly Network Configuration but it still didn't work.
View 10 Replies
View Related
Feb 8, 2011
I am trying to use a ZTE AC2726 USB EVDO Modem on openSuSE Linux 11.3 Gnome to connect to the internet. I have edited the /etc/wvdial.conf file as follows:
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 57600
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = .....
When I execute the wvdial command on the terminal the following error appears
joey-suse:~ # wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK .....
The /etc/resolv.conf file has the DNS addresses as below
nameserver 212.49.70.22
nameserver 212.49.70.23
How do I resolve this and connect to the internet?
View 5 Replies
View Related
Jul 1, 2011
Everything worked fine until very recently, and without apparently ANY change to the settings on the server, a secondary IP that was assigned to my server won't work anymore..Any IP attached to the same server works fine.. So in my case, the problematic IP is 213.8.155.67. The other IP (213.8.155.42) works without any problem.How would I go about troubleshooting this?
ifconfig:
eth0 Link encap:Ethernet HWaddr 00:26:B9:44:11:3A
inet addr:213.8.155.33 Bcast:213.8.155.127 Mask:255.255.255.128
inet6 addr: fe80::226:b9ff:fe44:113a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
[code]...
View 3 Replies
View Related
Jan 5, 2010
I just tried to record a CD (standard data cd) with Brasero first and then with GnomeBaker and it failed both times right as it started to write with following error:
Code:
The errorlog from GnomeBaker says:
Code:
I already tried without burnfree but that didn't help either. Anyone know what the problem might be. It might be that the cdwriter is defective as I never tried it before (pretty new Dell workstation) but somehow I don't think so.
View 1 Replies
View Related
Jun 23, 2011
Kubuntu's Network manager says that my (wired) network is in an invalid state because I don't have an IP address, but Firefox and Chorme work perfectly, as do Synaptic and Software Centre, and a Superkaramba network monitor says that my IP is "192.168.1.101" In fact, the only thing that isn't working is Pidgin, and it says it's "Waiting for network connection."
View 3 Replies
View Related
Jun 25, 2009
I run an centos server. From the console I can ping google.com and get a reply. But when I ping another address say xyz.com, the IP address is resolved (11.22.33.44) but there is no reply. In the same network in our office from my desktop I ping [URL] and there is a reply.I turned of the firewall but still the same problem.
View 9 Replies
View Related
Jul 6, 2010
Where are Sunbird records stored?
View 1 Replies
View Related
Feb 28, 2010
Is there any software to store recovery records that can be used for recovery from data corruption, like RAR does? I periodically rsync from a primary backup location, that I assume corruption-free, to a secondary one, that I consider corruptible - so I'd like to store in the destination some recovery data.
View 1 Replies
View Related
May 25, 2010
I have a sitution that I am trying to set up.
I have 2 email servers that run on Windows: one is for internal purposes, the other is external purposes.
The external one will receive e-mail from the outside world, clean it up and forward it to the internal one.
There are 2 Windows Vista machines and 2 Unix (OpenSuse Linux) machines.
Since there can be only 1 email server per domain, I thought I would:
-> set up a local domain with ALL of the machines in it
-> set up a DNS server for the local domain
-> set up a MX record in the DNS server for the email
For the external machine, just have a Dynamic IP point to the Windows machine holding the external email server.
Does this sound plausible? Does this make sense?
View 9 Replies
View Related
Apr 4, 2010
Input file (already sorted on the key field):
204 Daniel Barton
206 Mary Halston
206 David Coleman
206 Carson Coleman
207 Roland Highsmith
207 Annie Highsmith
209 Connie Ward
Desired output file:
204 Daniel Barton
206 Mary Halston David Coleman Carson Coleman
207 Roland Highsmith Annie Highsmith
209 Connie Ward
View 1 Replies
View Related
Nov 3, 2009
Our hardware that is running DNS is very old (Pentium 1 Redhat release 6.2), and I want to migrate the DNS Records to a new computer (Pentium 4 Debian Lenny). There is no GUI environment on the old server: no Gnome or KDE. I may consider using VMware Workstation for this project.
1. I don't have very much DNS experience. Is this a painless process?
2. Are there commands that I can run to export the DNS records from the old server?
3. Are there commands that I can run to import the DNS records to the new server?
4. What other advice do you have that could help this process?
View 2 Replies
View Related
Jun 26, 2010
I'm having trouble getting dhcpd to update DNS records in bind9. I'm not seeing any journal files created for bind9. The following appears in syslog when a client machine connects to the network:
Code:
Jun 26 04:07:22 ubuntu dhcpd: DHCPDISCOVER from 00:23:df:44:78:83 via eth0
Jun 26 04:07:23 ubuntu dhcpd: DHCPOFFER on 10.0.0.112 to 00:23:df:44:78:83 (Computer1) via
[code]....
View 3 Replies
View Related